-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (35 loc) · 883 Bytes
/
test.yml
File metadata and controls
37 lines (35 loc) · 883 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
36
37
name: 'test'
on:
push:
paths:
- 'examples/projects/**'
- 'pyfpga/**'
- 'tests/**'
jobs:
test:
strategy:
matrix:
os: ['ubuntu', 'windows']
pyver: ['3.8', '3.9', '3.10', '3.11', '3.12']
exclude:
- os: 'windows'
pyver: '3.8'
- os: 'windows'
pyver: '3.9'
- os: 'windows'
pyver: '3.10'
- os: 'windows'
pyver: '3.11'
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os }} | ${{ matrix.pyver }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.pyver }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyver }}
- name: Install dependencies
run: pip install . && pip install pytest
- name: Run tests
run: make test