Skip to content

Commit

Permalink
Merge pull request #456 from chainwayxyz/rakanalh/fix-ef-tests-makefile
Browse files Browse the repository at this point in the history
Add ef-tests as a dep for make test
  • Loading branch information
rakanalh authored Apr 29, 2024
2 parents 5299979 + d8627b3 commit 607fa19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ jobs:
tool: [email protected]
- name: Install risc0-zkvm toolchain
run: cargo risczero install --version v2024-04-22.0
- name: Prepare EF-tests environment
run: make crates/evm/ethereum-tests
- name: Run coverage
run: make coverage
- name: Upload coverage
Expand Down Expand Up @@ -250,8 +248,6 @@ jobs:
- uses: taiki-e/install-action@nextest
- name: Install Rust
run: rustup show
- name: Prepare EF-tests environment
run: make crates/evm/ethereum-tests
- name: Run nextest
run: make test

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ clean-node: ## Cleans local dbs needed for sequencer and nodes
test-legacy: ## Runs test suite with output from tests printed
@cargo test -- --nocapture -Zunstable-options --report-time

test: ## Runs test suite using next test
test: $(EF_TESTS_DIR) ## Runs test suite using next test
@cargo nextest run --workspace --all-features --no-fail-fast

install-dev-tools: ## Installs all necessary cargo helpers
Expand Down Expand Up @@ -69,7 +69,7 @@ find-unused-deps: ## Prints unused dependencies for project. Note: requires nigh
find-flaky-tests: ## Runs tests over and over to find if there's flaky tests
flaky-finder -j16 -r320 --continue "cargo test -- --nocapture"

coverage: ## Coverage in lcov format
coverage: $(EF_TESTS_DIR) ## Coverage in lcov format
cargo llvm-cov --locked --lcov --output-path lcov.info nextest --workspace --all-features

coverage-html: ## Coverage in HTML format
Expand Down

0 comments on commit 607fa19

Please sign in to comment.