diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index a5243a10e..6acc2873c 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -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 diff --git a/tox.ini b/tox.ini index ddac8ee86..a2519a748 100644 --- a/tox.ini +++ b/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]