forked from fandango-fuzzer/fandango
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 812 Bytes
/
python-tests.yml
File metadata and controls
35 lines (28 loc) · 812 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
34
35
name: Tests
on:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Fandango
uses: ./.github/workflows/setup-fandango
with:
python-version: ${{ matrix.python-version }}
needs-sudo: ${{ matrix.os == 'ubuntu-latest' }}
# Run tests or coverage depending on branch and OS
- name: Run tests
run: |
pytest -v