Compare commits

..

No commits in common. 'ff9eb0704cc08eb01a5f7a1fc1fe6cf10b00d0e4' and 'd0bbcaacde0c06f2b7d8f88d19295720333f5c46' have entirely different histories.

@ -1,9 +1,5 @@
kind: pipeline
name: build
type: docker
steps:
- name: test
pipeline:
build:
image: python:3.10.1-slim-buster
commands:
- pip install --upgrade pip setuptools wheel
@ -12,9 +8,8 @@ steps:
- flake8 app
- mkdir -p coverage
- pytest tests/
trigger:
branch:
- master
when:
event:
- push
- tag
ref:
- refs/tags/v*

@ -1,6 +1,8 @@
# Drone Test
[![Build Status](https://drone.itspektar.com/api/badges/root/drone-test/status.svg)](https://drone.itspektar.com/root/drone-test)
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
[![GitHub release](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest)
[![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea)
[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backer/badge.svg?label=backer&color=brightgreen)](https://opencollective.com/gitea)

@ -1,8 +0,0 @@
# test_hello.py
from app import app
def test_hello():
response = app.test_client().get('/')
assert response.status_code == 200
assert response.data == b'Hello, World!'
Loading…
Cancel
Save