-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 944 Bytes
/
test.yaml
File metadata and controls
33 lines (30 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: test
on:
push:
branches: [main]
pull_request_target:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || '0' }}
cancel-in-progress: true
jobs:
e2e:
strategy:
matrix:
os: [ubuntu-24.04, windows-2025, macos-15]
fail-fast: false
env:
DISPLAY: ":99.0"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.2.2
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version-file: "pyproject.toml"
cache: "pip"
- uses: tlambert03/setup-qt-libs@19e4ef2d781d81f5f067182e228b54ec90d23b76 # v1.8.0
- if: ${{ matrix.os == 'ubuntu-24.04' }}
run: sudo apt-get install pulseaudio -y
- name: Install dependencies
run: pip install .[test]
- name: Run PyTests
run: pytest