From 6bf59d95acdf71e81689b3e1f7564332afbcad07 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Thu, 30 Nov 2023 11:33:11 +0000 Subject: [PATCH] feat: use ethereum tests from submodule --- .github/workflows/rust.yml | 5 +---- .gitmodules | 3 +++ jsontests/res/ethtests | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 160000 jsontests/res/ethtests diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4767419bf..ae2eff533 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,12 +37,9 @@ jobs: jsontests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - uses: actions/checkout@v4 with: - path: jsontests/res/ethtests - repository: ethereum/tests - ref: 428f218d7d6f4a52544e12684afbfe6e2882ffbf + submodules: recursive - name: Run tests run: | cargo run --release --verbose -p jsontests -- \ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..c0ada7757 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "jsontests/res/ethtests"] + path = jsontests/res/ethtests + url = https://github.com/ethereum/tests diff --git a/jsontests/res/ethtests b/jsontests/res/ethtests new file mode 160000 index 000000000..428f218d7 --- /dev/null +++ b/jsontests/res/ethtests @@ -0,0 +1 @@ +Subproject commit 428f218d7d6f4a52544e12684afbfe6e2882ffbf