fixed ci scripts
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
53f45b4df8
commit
c09af57c62
|
|
@ -6,7 +6,6 @@ steps:
|
||||||
- name: unitest
|
- name: unitest
|
||||||
image: python
|
image: python
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements_test.txt
|
|
||||||
- ./scripts/drone/setup.sh
|
- ./scripts/drone/setup.sh
|
||||||
- ./scripts/drone/test.sh
|
- ./scripts/drone/test.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
@ -15,7 +14,6 @@ steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: python
|
image: python
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements_test.txt
|
|
||||||
- ./scripts/drone/lint.sh
|
- ./scripts/drone/lint.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone
|
- clone
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
|
printf "\n\n|| Installing static analysis requirements ||\n\n"
|
||||||
|
pip install -r requirements_static.txt
|
||||||
|
|
||||||
printf "\n\n|| Starting ruff check ||\n\n"
|
printf "\n\n|| Starting ruff check ||\n\n"
|
||||||
ruff check --config=./pyproject.toml
|
ruff check --config=./pyproject.toml
|
||||||
|
|
||||||
printf "\n\n|| Starting bandit check ||\n\n"
|
printf "\n\n|| Starting bandit check ||\n\n"
|
||||||
bandit -r lockbox/
|
bandit -r lockbox/
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
printf "\n\n|| Installing test requirements ||\n\n"
|
||||||
|
pip install -r requirements_test.txt
|
||||||
|
|
||||||
cd lockbox
|
cd lockbox
|
||||||
printf "\n\n|| Starting pytest run ||\n\n"
|
printf "\n\n|| Starting pytest run ||\n\n"
|
||||||
pytest --cov=. --cov-report term-missing --reuse-db
|
pytest --cov=. --cov-report term-missing --reuse-db
|
||||||
Loading…
Reference in New Issue