Skip to content

Commit

Permalink
use default for shanghai
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Mar 17, 2024
1 parent c9056b4 commit ad55025
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
strategy:
matrix:
opt-mode: ["gas", "none", "codesize"]
evm-version: [shanghai]
debug: [true, false]
group: [1, 2, 3]
memorymock: [false]
Expand All @@ -81,34 +80,27 @@ jobs:
opt-mode: gas
evm-version: paris

# redundant shanghai rule, for clarity
- debug: false
opt-mode: gas
evm-version: shanghai
# shanghai is already the default

# enable when py-evm makes it work:
#- python-version: ["3.11", "311"]
# debug: false
#- debug: false
# opt-mode: gas
# evm-version: cancun

# run with `--memorymock`, but only need to do it one configuration
# TODO: consider removing the memorymock tests
- opt-mode: gas
debug: false
evm-version: shanghai
memorymock: true

# run across other python versions. we don't really need to run all
# modes across all python versions - one is enough
- python-version: ["3.10", "310"]
opt-mode: gas
debug: false
evm-version: shanghai
- python-version: ["3.12", "312"]
opt-mode: gas
debug: false
evm-version: shanghai

name: py${{ matrix.python-version[1] || '311' }}-opt-${{ matrix.opt-mode }}${{ matrix.debug && '-debug' || '' }}${{ matrix.memorymock && '-memorymock' || '' }}-${{ matrix.evm-version }}-group${{ matrix.group }}

Expand Down Expand Up @@ -144,7 +136,7 @@ jobs:
--dist worksteal \
-m "not fuzzing" \
--optimize ${{ matrix.opt-mode }} \
--evm-version ${{ matrix.evm-version }} \
--evm-version ${{ matrix.evm-version || 'shanghai' }} \
${{ matrix.debug && '--enable-compiler-debug-mode' || '' }} \
${{ matrix.memorymock && '--memorymock' || '' }} \
--showlocals -r aR \
Expand Down

0 comments on commit ad55025

Please sign in to comment.