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

This commit is contained in:
Ad5001 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:
- git submodule update --init --recursive
- name: Tests
- name: Unit Tests
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2-latex
commands:
- ls -la
- 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 ./ci/test1.lpf
- xvfb-run python3 run.py --test-build --no-check-for-updates ./ci/test2.lpf
when:
event: [ push, tag ]
- name: Windows build
image: ad5001/ubuntu-pyside6-xvfb-wine:win10-6.7.2
commands:

View file

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