diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b57547..e6198c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,6 @@ jobs: tests: name: CI (Python ${{ matrix.python }} on ${{ matrix.os }}, ${{ matrix.type }} test) runs-on: ${{ matrix.os }} - defaults: - run: - shell: bash strategy: matrix: python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] @@ -32,12 +29,16 @@ jobs: id: python with: python-version: ${{ matrix.python }} - - name: Install solc-select + - name: Create Python virtual environment run: | ${{ steps.python.outputs.python-path }} -m venv test-venv + - name: Install solc-select + shell: bash + run: | source test-venv/bin/activate pip3 install . - name: Run Tests + shell: bash env: TEST_TYPE: ${{ (matrix.type != 'os_specific' && matrix.type) || runner.os }} run: |