Skip to content

Commit 6a23d32

Browse files
authored
feat(ci): add feature skips to main release process (#1596)
* feat(ci): add feature skips to main release. * docs: update changelog.
1 parent 0e1dd2c commit 6a23d32

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/configs/feature.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ zkevm:
1515
evm-type: zkevm
1616
fill-params: --from=Cancun --until=Prague -m zkevm ./tests
1717
solc: 0.8.21
18+
feature_only: true
1819
eip7692:
1920
evm-type: eip7692
2021
fill-params: --fork=EOFv1 ./tests/unscheduled
2122
solc: 0.8.21
2223
eofwrap: true
24+
feature_only: true

.github/workflows/fixtures.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@ jobs:
1717
id: parse
1818
shell: bash
1919
run: |
20-
echo "features=$(grep -Po "^[0-9a-zA-Z_\-]+" ./.github/configs/feature.yaml | jq -R . | jq -cs .)" >> "$GITHUB_OUTPUT"
20+
# Get all features without `feature_only: true`
21+
grep -Po "^[0-9a-zA-Z_\-]+" ./.github/configs/feature.yaml | \
22+
while read feature; do
23+
if ! awk "/^$feature:/{flag=1; next} /^[[:alnum:]]/{flag=0} flag && /feature_only:.*true/{exit 1}" \
24+
./.github/configs/feature.yaml; then
25+
continue
26+
fi
27+
echo "$feature"
28+
done | jq -R . | jq -cs . > features.json
29+
echo "features=$(cat features.json)" >> "$GITHUB_OUTPUT"
2130
build:
2231
needs: features
2332
runs-on: self-hosted

docs/CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ A new fork `EOFv1` has additionally been created to fill and consume EOF related
2020

2121
- ✨ Add an empty account function for usage within fill and execute ([#1482](https://github.com/ethereum/execution-spec-tests/pull/1482)).
2222

23-
#### `fill`
24-
25-
#### `consume`
26-
2723
### 📋 Misc
2824

2925
- ✨ Engine API updates for Osaka, add `get_blobs` rpc method ([#1510](https://github.com/ethereum/execution-spec-tests/pull/1510)).
3026
- ✨ The EIP Version checker has been moved from `fill` and `execute` to it's own command-line tool `check_eip_versions` that gets ran daily as a Github Action ([#1537](https://github.com/ethereum/execution-spec-tests/pull/1537)).
3127
🔀 Add new `tests/unscheduled` folder, move EOF from Osaka to unscheduled, add `EOFv1` fork name for EOF tests ([#1507](https://github.com/ethereum/execution-spec-tests/pull/1507)).
28+
- ✨ CI features now contain an optional field to skip them from EEST full releases, `zkevm` and EOF features are now feature only ([#1596](https://github.com/ethereum/execution-spec-tests/pull/1596)).
3229

3330
### 🧪 Test Cases
3431

0 commit comments

Comments
 (0)