Skip to content

Commit 91575b1

Browse files
committed
ci: add to run one example in windows
1 parent 6dc528a commit 91575b1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
17-
with:
18-
submodules: true
19-
fetch-depth: 0
2017
- name: Set up Python ${{ matrix.pyver }}
2118
uses: actions/setup-python@v5
2219
with:
@@ -33,14 +30,14 @@ jobs:
3330
steps:
3431
- name: Checkout repository
3532
uses: actions/checkout@v4
36-
with:
37-
submodules: true
38-
fetch-depth: 0
3933
- name: Set up Python 3.12
4034
uses: actions/setup-python@v5
4135
with:
4236
python-version: 3.12
4337
- name: Install dependencies
44-
run: pip install . && pip install pytest
38+
run: |
39+
pip install . && pip install pytest
4540
- name: Run tests
46-
run: make test
41+
run: |
42+
$Env:PATH += ";${{ github.workspace }}\tests\mocks"
43+
cd examples\projects && python3 vivado.py

tests/mocks/vivado.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
python3 "%~dp0vivado" %*

0 commit comments

Comments
 (0)