|
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
workspace:
|
|
path: /
|
|
|
|
steps:
|
|
- name: unittest
|
|
image: python
|
|
commands:
|
|
- pip install -r requirements_test.txt
|
|
- ./scripts/setup.sh
|
|
- ./scripts/tests.sh
|
|
|
|
settings:
|
|
username:
|
|
from_secret: gitea_username
|
|
password:
|
|
from_secret: gitea_password |