Skip to content

Commit

Permalink
fix: update test job to use matrix strategy for multiple crates
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelMedeiros committed Feb 21, 2025
1 parent 7cc1de7 commit 168c662
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
run: cargo clippy --workspace --all-features -- -D warnings -A clippy::needless_lifetimes

test:
strategy:
matrix:
crate: [pubky, pubky-common, pubky-homeserver, pubky-testnet, http-relay]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -53,7 +56,7 @@ jobs:
- name: Run tests
run: |
cargo nextest run \
--workspace \
-p ${{ matrix.crate }} \
--all-features \
--test-threads num-cpus \
--retries 2

0 comments on commit 168c662

Please sign in to comment.