Skip to content

Commit f482e2b

Browse files
committed
ci: Switch to pytest.
1 parent b59df43 commit f482e2b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,18 @@ jobs:
1313
# Install Tools
1414
- name: Install Tools
1515
run: |
16-
sudo apt-get install wget build-essential python3
17-
pip3 install setuptools
16+
sudo apt-get install wget build-essential
17+
18+
- name: Set up Python 3.9
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: "3.9"
22+
cache: "pip"
23+
cache-dependency-path: "setup.py"
24+
25+
- name: Install Python dependencies
26+
run: |
27+
python3 -m pip install setuptools pytest
1828
1929
# Install (n)Migen / LiteX / Cores
2030
- name: Install LiteX
@@ -28,4 +38,4 @@ jobs:
2838

2939
# Test
3040
- name: Run Tests
31-
run: python3 setup.py test
41+
run: python3 -m pytest -v

0 commit comments

Comments
 (0)