mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Update CI configuration
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
5b859b08a0
commit
8673038288
8
.github/workflows/regression-tests.yml
vendored
8
.github/workflows/regression-tests.yml
vendored
@ -9,14 +9,14 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.9]
|
||||
python-version: ["3.10"]
|
||||
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
@ -30,4 +30,4 @@ jobs:
|
||||
pip install tox tox-gh-actions
|
||||
|
||||
- name: Test with tox
|
||||
run: tox -- --splits 10 --group ${{ matrix.group }} --splitting-algorithm least_duration
|
||||
run: tox -- -n auto --verbose --splits 10 --group ${{ matrix.group }} --splitting-algorithm least_duration
|
||||
|
20
tox.ini
20
tox.ini
@ -7,23 +7,23 @@ requires = virtualenv >= 16.1
|
||||
|
||||
[gh-actions]
|
||||
python =
|
||||
3.9: py3
|
||||
3.10: py3
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
pytest == 7.1.3
|
||||
pytest-xdist == 2.5.0
|
||||
pytest == 7.2.1
|
||||
pytest-xdist == 3.1.0
|
||||
pytest-split == 0.8.0
|
||||
cocotb == 1.7.0
|
||||
cocotb == 1.7.2
|
||||
cocotb-bus == 0.2.1
|
||||
cocotb-test == 0.2.2
|
||||
cocotbext-axi == 0.1.18
|
||||
cocotbext-eth == 0.1.18
|
||||
cocotbext-pcie == 0.2.10
|
||||
scapy == 2.4.5
|
||||
cocotb-test == 0.2.4
|
||||
cocotbext-axi == 0.1.20
|
||||
cocotbext-eth == 0.1.20
|
||||
cocotbext-pcie == 0.2.12
|
||||
scapy == 2.5.0
|
||||
|
||||
commands =
|
||||
pytest -n auto {posargs}
|
||||
pytest {posargs:-n auto --verbose}
|
||||
|
||||
# pytest configuration
|
||||
[pytest]
|
||||
|
Loading…
x
Reference in New Issue
Block a user