Fixing CI building
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adsooi 2024-09-18 23:11:44 +02:00
parent 3104dea918
commit 2ee7da7995
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 9 additions and 5 deletions

View file

@ -11,18 +11,22 @@ steps:
commands: commands:
- git submodule update --init --recursive - git submodule update --init --recursive
- name: Tests - name: Unit Tests
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex
commands: commands:
- ls -la
- bash scripts/run-tests.sh - bash scripts/run-tests.sh
when:
event: [ push, tag ]
- name: File Tests
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex
commands:
- xvfb-run python3 run.py --test-build --no-check-for-updates - xvfb-run python3 run.py --test-build --no-check-for-updates
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test1.lpf - xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test1.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test2.lpf - xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test2.lpf
when: when:
event: [ push, tag ] event: [ push, tag ]
- name: Windows build - name: Windows build
image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.7.2 image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.7.2
commands: commands:

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.." cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/"
# Run python tests # Run python tests
pytest --cov --cov-report term-missing PYTHONPATH="$PYTHONPATH:.." pytest --cov --cov-report term-missing ..