Skip to content

Commit

Permalink
Fix rust.yml test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed Aug 14, 2024
1 parent 834c11b commit 8310be5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ jobs:
run: sh dev-env-setup.sh && cd .. # Return to root

- name: Test debug
if: secrets.LAGRANGE_BSP != ''
env:
LAGRANGE_BSP: ${{ secrets.LAGRANGE_BSP }}
run: cargo test --workspace --exclude anise-gui --exclude anise-py
run: |
[ -n "$LAGRANGE_BSP" ] && cargo test --workspace --exclude anise-gui --exclude anise-py
- name: Test release
if: secrets.LAGRANGE_BSP != ''
env:
LAGRANGE_BSP: ${{ secrets.LAGRANGE_BSP }}
run: cargo test --release --workspace --exclude anise-gui --exclude anise-py
run: |
[ -n "$LAGRANGE_BSP" ] && cargo test --release --workspace --exclude anise-gui --exclude anise-py
- name: Test rust_embed build
run: |
Expand Down Expand Up @@ -133,10 +133,9 @@ jobs:
run: RUST_BACKTRACE=1 cargo test validate_hermite_type13_ --features spkezr_validation --release --workspace --exclude anise-gui --exclude anise-py -- --nocapture --include-ignored --test-threads 1

- name: Rust-SPICE Lagrange validation
if: secrets.LAGRANGE_BSP != ''
env:
LAGRANGE_BSP: ${{ secrets.LAGRANGE_BSP }}
run: RUST_BACKTRACE=1 cargo test validate_lagrange_type9_with_varying_segment_sizes --features spkezr_validation --release --workspace --exclude anise-gui --exclude anise-py -- --nocapture --include-ignored --test-threads 1
run: RUST_BACKTRACE=1 [ -n "$LAGRANGE_BSP" ] && cargo test validate_lagrange_type9_with_varying_segment_sizes --features spkezr_validation --release --workspace --exclude anise-gui --exclude anise-py -- --nocapture --include-ignored --test-threads 1

- name: Rust-SPICE PCK validation
run: RUST_BACKTRACE=1 cargo test validate_iau_rotation_to_parent --release --workspace --exclude anise-gui --exclude anise-py -- --nocapture --ignored
Expand Down

0 comments on commit 8310be5

Please sign in to comment.