Skip to content

Commit

Permalink
Merge pull request #34 from aurora-is-near/feat/update-tests
Browse files Browse the repository at this point in the history
Feat: update `evm-tests` for custom fork
  • Loading branch information
mrLSD authored Nov 24, 2023
2 parents 8712dbe + 71c1638 commit d51703d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D clippy::all -D clippy::nursery
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Build NoStd
Expand All @@ -32,17 +32,10 @@ jobs:
jsontests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: "rust-blockchain/evm-tests"
submodules: recursive
- name: Submodules
run: |
cd evm
git remote set-url origin "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"
git fetch origin $GITHUB_SHA
git checkout $GITHUB_SHA
- name: Run tests
run: |
cd jsontests
cargo test --release --verbose
cd evm-tests/jsontests
cargo test --release
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "evm-tests"]
path = evm-tests
url = https://github.com/aurora-is-near/evm-tests.git
1 change: 1 addition & 0 deletions evm-tests
Submodule evm-tests added at b35875

0 comments on commit d51703d

Please sign in to comment.