Skip to content

Commit

Permalink
Don't need specific jobs for s3 any more
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Dec 8, 2024
1 parent dab0a1f commit f7b246a
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
features: ["", "s3"]
version: [stable, nightly, "1.79"]

steps:
Expand All @@ -61,21 +60,17 @@ jobs:
with:
toolchain: ${{ matrix.version }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.features }}
- name: Show version
run: |
rustup show
cargo --version
rustc --version
- name: Build
run: >
cargo build --all-targets --no-default-features --features=${{
matrix.features }} --features fail/failpoints
cargo build --all-targets --features fail/failpoints
- name: Test
run: >
cargo test --no-default-features --features=${{ matrix.features }}
--features fail/failpoints -- --include-ignored
cargo test --features fail/failpoints -- --include-ignored
# Run rustfmt separately so that it does not block test results
rustfmt:
Expand Down Expand Up @@ -136,8 +131,8 @@ jobs:
tool: cargo-mutants
- name: Mutants in diff
run: >
cargo mutants --no-shuffle -vV --in-diff git.diff --in-place -- --features
fail/failpoints
cargo mutants --no-shuffle -vV --in-diff git.diff --in-place --
--features fail/failpoints
- name: Archive mutants.out
uses: actions/upload-artifact@v4
if: always()
Expand Down Expand Up @@ -167,11 +162,11 @@ jobs:
- name: Run mutant tests
# Don't use the S3 features because they require AWS credentials for realistic
# testing.
run: |
cargo mutants --no-shuffle -vV --cargo-arg=--no-default-features \
--in-place \
--baseline=skip --shard ${{ matrix.shard }}/10 \
-- \
run: >
cargo mutants --no-shuffle -vV
--in-place
--baseline=skip --shard ${{ matrix.shard }}/10
--
--features fail/failpoints
- name: Archive results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f7b246a

Please sign in to comment.