Fix CI
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,5 +4,6 @@ app/
|
|||||||
.test_folder/
|
.test_folder/
|
||||||
*/coverage/
|
*/coverage/
|
||||||
*.log
|
*.log
|
||||||
|
*.xml
|
||||||
.coverage
|
.coverage
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-factoryboy
|
pytest-factoryboy
|
||||||
|
gitlabci-local
|
||||||
@@ -5,5 +5,4 @@ progressbar
|
|||||||
virtualenv
|
virtualenv
|
||||||
requests
|
requests
|
||||||
filetype
|
filetype
|
||||||
rawpy
|
|
||||||
python-i18n[YAML]
|
python-i18n[YAML]
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
import filetype
|
import filetype
|
||||||
import rawpy
|
|
||||||
|
|
||||||
|
|
||||||
class MimeTypes:
|
class MimeTypes:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
apk add --update libmagic
|
apk add --update libmagic
|
||||||
pip3.12 install -r requirements.txt
|
pip install --upgrade pip
|
||||||
pip3.12 install -r develop_requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
|
python3 -m pip install -r develop_requirements.txt
|
||||||
pwd
|
pwd
|
||||||
sh tests/start_tests.sh
|
sh tests/start_tests.sh
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
@@ -8,5 +9,5 @@ exit_code=$?
|
|||||||
cp tests/coverage/coverage.xml ./coverage.xml
|
cp tests/coverage/coverage.xml ./coverage.xml
|
||||||
cp tests/coverage/report.xml ./report.xml
|
cp tests/coverage/report.xml ./report.xml
|
||||||
|
|
||||||
python3.12 tests/get_coverage_percent.py
|
python3 tests/get_coverage_percent.py
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
Reference in New Issue
Block a user