Skip to content

Commit 0dcc03e

Browse files
JrigadaKarrqnbaztecelfedy
authored
chore: Enable Foundry tests (#746)
* chore: update `Vm.sol` interface * chore: restore `EvmVersion::Paris` as default * Add fix for nonce update in evm context and initialization of crypto provider for tests * Add rustls dependency * Fix Cargo lock * Enable foundry tests * Add missing rustls * Remove windows from matrices * Remove extra initialization * Clippy and update vm.sol * Update crates/cast/bin/main.rs Co-authored-by: Nisheeth Barthwal <[email protected]> * Update crates/forge/tests/it/test_helpers.rs Co-authored-by: Nisheeth Barthwal <[email protected]> * Cargo fmt * Update .github/scripts/matrices.py Co-authored-by: Federico Rodríguez <[email protected]> --------- Co-authored-by: Francesco Dainese <[email protected]> Co-authored-by: Nisheeth Barthwal <[email protected]> Co-authored-by: Federico Rodríguez <[email protected]>
1 parent 1ca471f commit 0dcc03e

File tree

10 files changed

+1023
-1018
lines changed

10 files changed

+1023
-1018
lines changed

.github/scripts/matrices.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ def __init__(
7171
# TODO: Figure out how to make this work
7272
# t_linux_arm = Target("ubuntu-latest", "aarch64-unknown-linux-gnu", "linux-aarch64")
7373
t_macos = Target("macos-latest", "aarch64-apple-darwin", "macosx-aarch64")
74-
t_windows = Target("windows-latest", "x86_64-pc-windows-msvc", "windows-amd64")
75-
targets = [t_linux_x86, t_windows] if is_pr else [t_linux_x86, t_macos, t_windows]
74+
# NOTE(zk): ZKsync-era doesn't support windows as of now
75+
# t_windows = Target("windows-latest", "x86_64-pc-windows-msvc", "windows-amd64")
76+
targets = [t_linux_x86] if is_pr else [t_linux_x86, t_macos]
7677

7778
config = [
7879
Case(

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ env:
1717
TARGET_RUST_VERSION: "nightly-2024-09-01"
1818

1919
jobs:
20+
nextest:
21+
uses: ./.github/workflows/nextest.yml
22+
with:
23+
profile: default
24+
secrets: inherit
25+
2026
doctest:
2127
runs-on: ubuntu-22.04-github-hosted-16core
2228
timeout-minutes: 60

0 commit comments

Comments
 (0)