This commit is contained in:
parent
3104dea918
commit
2ee7da7995
2 changed files with 9 additions and 5 deletions
10
ci/drone.yml
10
ci/drone.yml
|
@ -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:
|
||||
|
|
|
@ -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 ..
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue