2022-03-30 19:43:27 +00:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run-tests:
|
|
|
|
name: Run tests
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y pyqt5-dev-tools xvfb
|
|
|
|
|
2022-04-12 18:50:36 +00:00
|
|
|
- name: Setup Python 3.8
|
2022-03-30 19:43:27 +00:00
|
|
|
uses: actions/setup-python@v2
|
2022-04-12 18:50:36 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.8
|
|
|
|
|
|
|
|
- name: Setup Python 3.9
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.9
|
2022-03-30 19:43:27 +00:00
|
|
|
|
|
|
|
- name: Install tox
|
|
|
|
run: pip install tox
|
|
|
|
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: tox -- --forked --verbose
|