Skip to content

Commit

Permalink
fix: separate build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Jul 11, 2024
1 parent da8960d commit 50eed5e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/rust_build_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
build:
name: Rust stable - build
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
toolchain:
Expand All @@ -26,4 +25,15 @@ jobs:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --manifest-path apps/server/Cargo.toml --verbose
test:
name: Rust stable - test
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo test --manifest-path apps/server/Cargo.toml --verbose

0 comments on commit 50eed5e

Please sign in to comment.