Skip to content

Commit 1363dc7

Browse files
committed
Update CI
Signed-off-by: Alex Forencich <[email protected]>
1 parent 1a0910e commit 1363dc7

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

.github/workflows/regression-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on: [push, pull_request]
55
jobs:
66
build:
77
name: Python ${{matrix.python-version}}
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99

1010
strategy:
1111
matrix:
12-
python-version: [3.9]
12+
python-version: ["3.10"]
1313

1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v3
1616

1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121

@@ -29,4 +29,4 @@ jobs:
2929
pip install tox tox-gh-actions
3030
3131
- name: Test with tox
32-
run: tox
32+
run: tox -- -n auto --verbose

tox.ini

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
# tox configuration
22
[tox]
3-
envlist = py39
3+
envlist = py3
44
skipsdist = True
5+
minversion = 3.2.0
6+
requires = virtualenv >= 16.1
57

68
[gh-actions]
79
python =
8-
3.9: py39
10+
3.10: py3
911

1012
[testenv]
1113
deps =
12-
pytest
13-
pytest-xdist
14-
cocotb
15-
cocotb-test
16-
cocotbext-axi
17-
cocotbext-uart
14+
pytest == 7.2.1
15+
pytest-xdist == 3.1.0
16+
cocotb == 1.7.2
17+
cocotb-bus == 0.2.1
18+
cocotb-test == 0.2.4
19+
cocotbext-axi == 0.1.20
20+
cocotbext-uart == 0.1.2
1821

1922
commands =
20-
pytest -n auto {posargs}
23+
pytest {posargs:-n auto --verbose}
2124

2225
# pytest configuration
2326
[pytest]

0 commit comments

Comments
 (0)