Skip to content

Commit

Permalink
Do not run tests on old rust
Browse files Browse the repository at this point in the history
The dev-dependency on criterion needs too many new features.
  • Loading branch information
cesarb committed Apr 16, 2022
1 parent 5ffd60a commit b5ec5b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
runner: [ubuntu-latest, windows-latest, macos-latest]
toolchain: [1.36.0, 1.59.0, stable, beta, nightly]
toolchain: [1.34.2, 1.59.0, stable, beta, nightly]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -34,14 +34,20 @@ jobs:
- run: cargo build --verbose --release --features=nightly
if: ${{ matrix.toolchain == 'nightly' }}
- run: cargo test --verbose
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo test --verbose --features=no_cc
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo test --verbose --features=nightly
if: ${{ matrix.toolchain == 'nightly' }}
- run: cargo test --verbose --release
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo test --verbose --release --features=no_cc
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo test --verbose --release --features=nightly
if: ${{ matrix.toolchain == 'nightly' }}
- run: cargo bench --verbose
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo bench --verbose --features=no_cc
if: ${{ matrix.toolchain != '1.34.2' }}
- run: cargo bench --verbose --features=nightly
if: ${{ matrix.toolchain == 'nightly' }}

0 comments on commit b5ec5b6

Please sign in to comment.