Merge pull request #55 from PyFPGA/ci-win #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'test' | |
on: | |
push: | |
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 | |
cd examples/projects && bash regress.sh --notool |