Skip to content

Commit 9138e41

Browse files
winsvegafelix314159
authored andcommitted
enable blockchain test converted coverage support (ethereum#1554)
1 parent 803b59c commit 9138e41

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/coverage.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
path: testpath
101101
sparse-checkout: |
102102
GeneralStateTests
103+
BlockchainTests
103104
EOFTests
104105
105106
- name: Checkout ethereum/legacytests
@@ -110,6 +111,7 @@ jobs:
110111
path: legacytestpath
111112
sparse-checkout: |
112113
Cancun/GeneralStateTests
114+
Cancun/BlockchainTests
113115
114116
# This command diffs the file and filters in new lines
115117
- name: Parse converted tests from converted-ethereum-tests.txt
@@ -197,7 +199,7 @@ jobs:
197199
198200
PATCH_TEST_PATH=${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS
199201
mkdir -p $PATCH_TEST_PATH
200-
find fixtures/blockchain_tests -type f -name "*.json" -exec cp {} $PATCH_TEST_PATH \;
202+
find fixtures/blockchain_tests -type f -name "*.json" -exec bash -c 'cp "$0" "$1/blockchain_$(basename "$0")"' {} "$PATCH_TEST_PATH" \;
201203
find fixtures/state_tests -type f -name "*.json" -exec cp {} $PATCH_TEST_PATH \;
202204
find fixtures/eof_tests -type f -name "*.json" -exec cp {} $PATCH_TEST_PATH \;
203205

0 commit comments

Comments
 (0)