Skip to content

ci: add to run one example in windows #210

ci: add to run one example in windows

ci: add to run one example in windows #210

Workflow file for this run

name: 'test'
on:
push:
jobs:
test-lin:
strategy:
matrix:
os: ['ubuntu']
pyver: ['3.8', '3.9', '3.10', '3.11', '3.12']
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: |
source tests/mocks/source-me.sh && make test
cd examples/projects && bash regress.sh
test-win:
runs-on: windows-latest
name: windows | 3.12
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install . && pip install pytest
- name: Run tests
run: |
python3 tests/mocks/vivado
Set-Alias vivado "python ${{ github.workspace }}\tests\mocks\vivado"
vivado
cd examples\projects && python3 vivado.py