This commit is contained in:
2024-05-25 23:04:05 +02:00
parent 161525fbb5
commit cc3f0ea89b
5 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@@ -4,5 +4,6 @@ app/
.test_folder/
*/coverage/
*.log
*.xml
.coverage

View File

@@ -1,3 +1,4 @@
pytest
pytest-cov
pytest-factoryboy
gitlabci-local

View File

@@ -5,5 +5,4 @@ progressbar
virtualenv
requests
filetype
rawpy
python-i18n[YAML]

View File

@@ -1,5 +1,4 @@
import filetype
import rawpy
class MimeTypes:

View File

@@ -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