-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|