Skip to content

Commit

Permalink
refactor 'internal tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored and patrickelectric committed Oct 22, 2023
1 parent 97bc456 commit dd94f63
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,14 @@ jobs:

internal-tests:
runs-on: ubuntu-latest
strategy:
matrix:
dialect: ["ardupilotmega", "asluav", "autoquad", "matrixpilot", "minimal", "paparazzi", "python_array_test", "slugs", "standard", "test", "ualberta", "uavionix", "icarous", "common"]
steps:
- uses: actions/checkout@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- name: Run internal tests
run: |
dialects=("ardupilotmega", "asluav", "autoquad", "matrixpilot", "minimal", "paparazzi", "python_array_test", "slugs", "standard", "test", "ualberta", "uavionix", "icarous", "common")
for dialect in "${dialects[@]}"; do
echo "::group::Testing $dialect"
if ! cargo test --verbose --features "$dialect" -- --nocapture; then
echo "::error::Tests failed"
fi
echo "::endgroup::"
done
run: cargo test --verbose --features ${{ matrix.dialect }} -- --nocapture

mavlink-dump:
runs-on: ubuntu-latest
Expand Down

0 comments on commit dd94f63

Please sign in to comment.