CI/CD working #3

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

View File

@ -11,12 +11,11 @@ pipeline:
- ./scripts/CI/setup.sh - ./scripts/CI/setup.sh
- ./scripts/CI/test.sh - ./scripts/CI/test.sh
static analysis: lint:
image: python image: python
group: test group: test
commands: commands:
- pip install -r requirements_test.txt - pip install -r requirements_test.txt
- ./scripts/CI/setup.sh
- ./scripts/CI/lint.sh - ./scripts/CI/lint.sh
settings: settings:

View File

@ -1,2 +1,3 @@
cd lockbox cd lockbox
echo "Starting ruff check...\n\n\n"
ruff check --config=./pyproject.toml ruff check --config=./pyproject.toml

View File

@ -1,2 +1,3 @@
cd lockbox cd lockbox
echo "Starting setup...\n\n\n"
python manage.py migrate python manage.py migrate

View File

@ -1,2 +1,3 @@
cd lockbox cd lockbox
printf "Starting pytest run...\n\n\n"
pytest --cov=. --cov-report term-missing --reuse-db pytest --cov=. --cov-report term-missing --reuse-db