29 lines
490 B
YAML
29 lines
490 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
pipeline:
|
|
unittest:
|
|
image: python
|
|
group: test
|
|
commands:
|
|
- pip install -r requirements_test.txt
|
|
- ./scripts/CI/setup.sh
|
|
- ./scripts/CI/test.sh
|
|
|
|
static analysis:
|
|
image: python
|
|
group: test
|
|
commands:
|
|
- pip install -r requirements_test.txt
|
|
- ./scripts/CI/setup.sh
|
|
- ./scripts/CI/lint.sh
|
|
|
|
settings:
|
|
username:
|
|
from_secret: gitea_username
|
|
password:
|
|
from_secret: gitea_password
|
|
|
|
|