Skip to content

Commit

Permalink
test rust modules inside container
Browse files Browse the repository at this point in the history
  • Loading branch information
DavIvek committed Feb 10, 2025
1 parent 487d7b3 commit 3e4ba20
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/reusable_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ jobs:
run: |
docker buildx prune --all -f
- name: Rust library tests
if: inputs.build_target == 'dev'
run: |
cd rust/rsmgp-sys
cargo fmt -- --check
cargo test
- name: Build and run Memgraph MAGE:${{ inputs.build_target }}
run: |
Expand All @@ -152,6 +145,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r ./python/tests/requirements.txt --break-system-packages
- 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"
- name: C++ Modules unit tests
if: inputs.build_target == 'dev'
Expand Down

0 comments on commit 3e4ba20

Please sign in to comment.