Skip to content

Update github action #7

Update github action

Update github action #7

Workflow file for this run

---
name: Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install os dependencies
run: |
sudo apt-get update
sudo apt-get install -i -qq qttools5-dev-tools
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
- name: Install test dependencies
run: pip install -e '.[test]'
- name: Test
run: pytest