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