LogarithmPlotter/ci/drone.yml
Ad5001 29e48e284c
Some checks failed
continuous-integration/drone/push Build is failing
Adding pytest to drone ci
2024-09-18 18:01:51 +02:00

32 lines
734 B
YAML

kind: pipeline
name: build-test
platform:
os: linux
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: Tests
image: ad5001/ubuntu-pyside6-xvfb:noble-6.7.2
commands:
- pytest --cov --cov-report term-missing
- 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:
- bash scripts/build-wine.sh
- bash scripts/package-wine.sh
when:
event: [ push, tag ]