Skip to content

Commit

Permalink
ci: fix windows linker issues when running unit tests amongst e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Mar 13, 2024
1 parent fab06d6 commit 63b8877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ jobs:
run: cargo test --package sn_client --release --tests
env:
SN_LOG: "all"
# only set the target dir for windows to bypass the linker issue.
# happens if we build the node manager via testnet action
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 15

- name: Create and fund a wallet to pay for files storage
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
run: cargo test --bin sn_client --release --tests
env:
SN_LOG: "all"
# only set the target dir for windows to bypass the linker issue.
# happens if we build the node manager via testnet action
CARGO_TARGET_DIR: ${{ matrix.os == 'windows-latest' && './test-target' || '.' }}
timeout-minutes: 15

- name: Create and fund a wallet to pay for files storage
Expand Down

0 comments on commit 63b8877

Please sign in to comment.