From 28916a56cd3c688549f9c104ad42e8dbeb613e43 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 26 Jan 2023 16:41:36 -0800 Subject: [PATCH] Update CI configuration Signed-off-by: Alex Forencich --- .github/workflows/regression-tests.yml | 8 ++++---- tox.ini | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index aacbb31af..dc6a60e32 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, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] 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 20 --group ${{ matrix.group }} --splitting-algorithm least_duration + run: tox -- -n auto --verbose --splits 20 --group ${{ matrix.group }} --splitting-algorithm least_duration diff --git a/tox.ini b/tox.ini index 13f3a1b55..d82b140e5 100644 --- a/tox.ini +++ b/tox.ini @@ -7,22 +7,22 @@ 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-pcie == 0.2.10 + cocotb-test == 0.2.4 + cocotbext-axi == 0.1.20 + cocotbext-pcie == 0.2.12 jinja2 == 3.1.2 commands = - pytest -n auto {posargs} + pytest {posargs:-n auto --verbose} # pytest configuration [pytest]