Skip to content

Commit

Permalink
ensure we test with async as well
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jan 28, 2025
1 parent 982e490 commit 000ca4c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --all-targets
- run: cargo build --all-targets --all-features
build-musl:
runs-on: ubuntu-latest
steps:
Expand All @@ -20,19 +20,19 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- run: TARGET_CC=clang-11 TARGET_AR=llvm-ar-11 cargo build --all-targets --target x86_64-unknown-linux-musl
- run: TARGET_CC=clang-11 TARGET_AR=llvm-ar-11 cargo build --all-targets --all-features --target x86_64-unknown-linux-musl
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --all-targets
- run: cargo build --all-targets --all-features
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
- run: cargo test --all-features
test-musl:
runs-on: ubuntu-latest
steps:
Expand All @@ -41,13 +41,13 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- run: TARGET_CC=clang-11 TARGET_AR=llvm-ar-11 cargo test --target x86_64-unknown-linux-musl
- run: TARGET_CC=clang-11 TARGET_AR=llvm-ar-11 cargo test --all-features --target x86_64-unknown-linux-musl
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test
- run: cargo test --all-features
lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -65,3 +65,4 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc
- run: cargo test --doc --all-features

0 comments on commit 000ca4c

Please sign in to comment.