Skip to content

Commit

Permalink
Run CI against MSRV and nightly too
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile authored Jul 30, 2023
1 parent 52d8ed9 commit 5e4e555
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ on:

jobs:
native_tests:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
name: Native Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust-version }}

- uses: actions/cache@v3
with:
Expand All @@ -30,13 +34,17 @@ jobs:
run: cargo test --workspace --exclude gloo-net

browser_tests:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
name: Browser Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown

- name: Install wasm-pack
Expand Down Expand Up @@ -73,13 +81,17 @@ jobs:
done
node_tests:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
name: Node Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown

- name: Install wasm-pack
Expand Down Expand Up @@ -115,11 +127,12 @@ jobs:
matrix:
# example: [ markdown, prime ]
example: [ markdown ]
rust-version: [1.64, stable, nightly]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown

- name: Install wasm-pack
Expand Down Expand Up @@ -156,6 +169,10 @@ jobs:
test-net:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
name: Test gloo-net
runs-on: ubuntu-latest
services:
Expand Down Expand Up @@ -200,7 +217,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown

- name: Run native tests
Expand Down

0 comments on commit 5e4e555

Please sign in to comment.