diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index f1b3f403..25a64e80 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -16,8 +16,8 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v7 + - uses: actions/setup-python@v7 with: python-version: "3.12" - uses: pre-commit/action@v3.0.1 @@ -58,11 +58,11 @@ jobs: pytest-marker: "-m verilator" steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: ${{ matrix.coverage && '0' || '1' }} - name: Set up miniforge ${{matrix.python-version}} - uses: conda-incubator/setup-miniconda@v3 + uses: conda-incubator/setup-miniconda@v4 with: miniforge-version: latest python-version: ${{matrix.python-version}} @@ -79,21 +79,10 @@ jobs: run: | sudo apt install -y --no-install-recommends iverilog - - name: Install Python dependencies + - name: Install package shell: bash -l {0} run: | - pip install pyvisa pyvisa-sim pytest cocotb>=2 cocotb-bus - - - name: Install coverage dependency - if: matrix.coverage - shell: bash -l {0} - run: | - pip install coverage diff-cover - - - name: Install basil - shell: bash -l {0} - run: | - pip install -e . + pip install -e .[test] - name: Test if: ${{ !matrix.coverage }}