Skip to content

Commit

Permalink
ci: fix execution on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Jan 3, 2025
1 parent 907550f commit e85b3ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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: |
Expand Down

0 comments on commit e85b3ca

Please sign in to comment.