Skip to content

Commit

Permalink
Remove nightly tests from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon authored and YeungOnion committed May 27, 2024
1 parent 0192393 commit 12f7bf4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable, nightly]

steps:
- uses: actions/checkout@v4
- name: Install Rust ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}

- name: Test nightly feature
if: matrix.toolchain == 'nightly'
run: cargo test --all-targets --features=nightly
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: Test default features
if: matrix.toolchain != 'nightly'
run: cargo test --all-targets

0 comments on commit 12f7bf4

Please sign in to comment.