Skip to content

Commit e66fab6

Browse files
committed
ci: test on multiple Python versions
1 parent 4e7174c commit e66fab6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: ["ubuntu-latest", "windows-2022"]
25+
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.12"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11", "3.12"]') }}
2526
type: ["brownie", "buidler", "dapp", "embark", "hardhat", "solc", "truffle", "waffle", "foundry", "standard", "vyper", "solc_multi_file", "hardhat_multi_file"]
2627
exclude:
2728
# Currently broken, tries to pull git:// which is blocked by GH
@@ -43,10 +44,10 @@ jobs:
4344
uses: actions/setup-node@v4
4445
with:
4546
node-version: 18.15
46-
- name: Set up Python 3.8
47+
- name: Set up Python ${{ matrix.python }}
4748
uses: actions/setup-python@v4
4849
with:
49-
python-version: 3.8
50+
python-version: ${{ matrix.python }}
5051
- name: Install dependencies
5152
run: |
5253
pip install "solc-select>=v1.0.0b1"

0 commit comments

Comments
 (0)