File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ on: [push, pull_request]
5
5
jobs :
6
6
build :
7
7
name : Python ${{matrix.python-version}}
8
- runs-on : ubuntu-20 .04
8
+ runs-on : ubuntu-22 .04
9
9
10
10
strategy :
11
11
matrix :
12
- python-version : [3.9 ]
12
+ python-version : ["3.10" ]
13
13
14
14
steps :
15
- - uses : actions/checkout@v1
15
+ - uses : actions/checkout@v3
16
16
17
17
- name : Set up Python ${{ matrix.python-version }}
18
- uses : actions/setup-python@v2
18
+ uses : actions/setup-python@v4
19
19
with :
20
20
python-version : ${{ matrix.python-version }}
21
21
29
29
pip install tox tox-gh-actions
30
30
31
31
- name : Test with tox
32
- run : tox
32
+ run : tox -- -n auto --verbose
Original file line number Diff line number Diff line change 1
1
# tox configuration
2
2
[tox]
3
- envlist = py39
3
+ envlist = py3
4
4
skipsdist = True
5
+ minversion = 3.2.0
6
+ requires = virtualenv >= 16.1
5
7
6
8
[gh-actions]
7
9
python =
8
- 3.9: py39
10
+ 3.10: py3
9
11
10
12
[testenv]
11
13
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
18
21
19
22
commands =
20
- pytest -n auto {posargs }
23
+ pytest {posargs: -n auto --verbose }
21
24
22
25
# pytest configuration
23
26
[pytest]
You can’t perform that action at this time.
0 commit comments