Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Sep 17, 2023
1 parent 9ead36c commit bd0cd67
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
env:
RUSTFLAGS: "--cfg releasing"

test-native:
name: Run Native Tests
test-native-stable:
name: Run Native Tests (Stable)
runs-on: ubuntu-latest
steps:
- name: Checkout Project
Expand All @@ -62,6 +62,30 @@ jobs:
env:
RUSTFLAGS: "--cfg releasing"

test-native-msrv:
name: Run Native Tests (MSRV)
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3

- name: Setup Rust
uses: dtolnay/[email protected]
with:
components: rustfmt, clippy

- name: Restore Rust Cache
uses: Swatinem/rust-cache@v2

# We only run tests on core packages, examples can be upgraded to be incompatible of msrv.
- name: Run cargo test
run: |
cargo test --all-features --package stylist-core
cargo test --all-features --package stylist-macros
cargo test --all-features --package stylist
env:
RUSTFLAGS: "--cfg releasing"

test-web:
name: Run Browser Tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit bd0cd67

Please sign in to comment.