CI/CD working #3

Merged
kitty merged 13 commits from ci_test into develop 2024-04-27 09:56:21 +00:00
1 changed files with 19 additions and 26 deletions
Showing only changes of commit 07fc6e86e0 - Show all commits

View File

@ -2,34 +2,27 @@ kind: pipeline
name: default
type: docker
workspace:
path: /
pipeline:
setup:
image: python
commands:
- pip install -r requirements_test.txt
- ./scripts/CI/setup.sh
steps:
- name: unittest
image: python
commands:
- pip install -r requirements_test.txt
- ./scripts/CI/setup.sh
- ./scripts/CI/test.sh
unittest:
image: python
commands:
- ./scripts/CI/test.sh
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password
static analysis:
image: python
commands:
- ./scripts/CI/lint.sh
- name: static analysis
image: python
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
settings:
username:
from_secret: gitea_username
password:
from_secret: gitea_password