Skip to content

Commit

Permalink
build (test): executes tests separately
Browse files Browse the repository at this point in the history
  • Loading branch information
sardylan committed Aug 29, 2024
1 parent 3ba9ec8 commit 5699fa1
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: "Tests"
on:
push:
branches: [ "main" ]
Expand All @@ -7,11 +7,24 @@ on:
env:
CARGO_TERM_COLOR: always
jobs:
build:
adif4rs:
name: "ADIF4rs"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: for DIR in $(find . -name Cargo.toml -printf "%h\n" | sort -u); do pushd "${DIR}" > /dev/null; cargo test --verbose; popd > /dev/null; done
run: cd adif4rs && cargo test --verbose
hamlib-client:
name: "Hamlib Client"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cd hamlib-client && cargo test --verbose
wavelog-hamlib:
name: "Wavelog Hamlib"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose

0 comments on commit 5699fa1

Please sign in to comment.