30 lines
496 B
YAML
30 lines
496 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: unitest
|
|
image: python
|
|
commands:
|
|
- pip install -r requirements_test.txt
|
|
- ./scripts/drone/setup.sh
|
|
- ./scripts/drone/test.sh
|
|
depends_on:
|
|
- clone
|
|
|
|
- name: lint
|
|
image: python
|
|
commands:
|
|
- pip install -r requirements_test.txt
|
|
- ./scripts/drone/lint.sh
|
|
depends_on:
|
|
- clone
|
|
|
|
settings:
|
|
username:
|
|
from_secret: gitea_username
|
|
password:
|
|
from_secret: gitea_password
|
|
|
|
|