Skip to content

Commit

Permalink
source cargo env when running rust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavIvek committed Feb 10, 2025
1 parent 3e4ba20 commit 12dba48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Rust library tests
if: inputs.build_target == 'dev'
run: |
docker exec -i -u root ${{ env.MAGE_CONTAINER }} bash -c "cd /mage/rust/rsmgp-sys && cargo fmt -- --check && cargo test"
docker exec -i -u root ${{ env.MAGE_CONTAINER }} bash -c "source ~/.cargo/env && cd /mage/rust/rsmgp-sys && cargo fmt -- --check && cargo test"
- name: C++ Modules unit tests
if: inputs.build_target == 'dev'
Expand Down

0 comments on commit 12dba48

Please sign in to comment.