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/ .test_folder/
*/coverage/ */coverage/
*.log *.log
*.xml
.coverage .coverage

View File

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

View File

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

View File

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

View File

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