2022-05-03 20:54:31 +00:00
|
|
|
pipeline:
|
|
|
|
test-debian:
|
|
|
|
group: test
|
|
|
|
image: openlp/debian
|
2022-05-03 20:58:02 +00:00
|
|
|
pull: true
|
2022-05-03 20:54:31 +00:00
|
|
|
commands:
|
2022-05-03 21:32:03 +00:00
|
|
|
# - sh scripts/generate_resources.sh
|
2022-05-03 20:54:31 +00:00
|
|
|
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings --cov openlp --cov-report term
|
|
|
|
- mv .coverage linux.coverage
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - linux.coverage
|
|
|
|
|
|
|
|
test-ubuntu:
|
|
|
|
group: test
|
|
|
|
image: openlp/ubuntu
|
2022-05-03 20:58:02 +00:00
|
|
|
pull: true
|
2022-05-03 20:54:31 +00:00
|
|
|
commands:
|
2022-05-03 21:32:03 +00:00
|
|
|
# - sh scripts/generate_resources.sh
|
2022-05-03 20:54:31 +00:00
|
|
|
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings
|
|
|
|
|
|
|
|
test-fedora:
|
|
|
|
group: test
|
|
|
|
image: openlp/fedora
|
2022-05-03 20:58:02 +00:00
|
|
|
pull: true
|
2022-05-03 20:54:31 +00:00
|
|
|
commands:
|
2022-05-03 21:32:03 +00:00
|
|
|
# - sh scripts/generate_resources.sh
|
2022-05-03 20:54:31 +00:00
|
|
|
- xvfb-run -s '-screen 0 1024x768x24' pytest-3 --color=no --disable-warnings
|
|
|
|
|
|
|
|
test-arch:
|
|
|
|
group: test
|
|
|
|
image: openlp/arch
|
2022-05-03 20:58:02 +00:00
|
|
|
pull: true
|
2022-05-03 20:54:31 +00:00
|
|
|
commands:
|
2022-05-03 21:32:03 +00:00
|
|
|
# - sh scripts/generate_resources.sh
|
2022-05-03 20:54:31 +00:00
|
|
|
- xvfb-run -s '-screen 0 1024x768x24' pytest --color=no --disable-warnings
|
|
|
|
|
2022-05-03 20:58:02 +00:00
|
|
|
# test-macos:
|
|
|
|
# group: test
|
|
|
|
# tags:
|
|
|
|
# - macos
|
|
|
|
# commands:
|
|
|
|
# - export PATH=/opt/local/bin:$PATH
|
|
|
|
# - sh scripts/generate_resources.sh
|
|
|
|
# - python3 -m pytest --color=no --disable-warnings --cov openlp
|
|
|
|
# - mv .coverage macos.coverage
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - macos.coverage
|
|
|
|
# when:
|
|
|
|
# branch: master
|
|
|
|
# repo: openlp/openlp
|
2022-05-03 20:54:31 +00:00
|
|
|
|
|
|
|
test-display:
|
|
|
|
group: test
|
|
|
|
image: openlp/angular
|
2022-05-03 20:58:02 +00:00
|
|
|
pull: true
|
2022-05-03 20:54:31 +00:00
|
|
|
commands:
|
|
|
|
- yarn install
|
|
|
|
- yarn test --browsers ChromiumHeadlessCI
|
|
|
|
|
2022-05-03 21:24:28 +00:00
|
|
|
depends_on:
|
|
|
|
- lint
|
2022-05-03 21:32:03 +00:00
|
|
|
|
|
|
|
skip_clone: true
|