Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3b0718d

Browse files
committedFeb 26, 2025·
ci: Run unit tests on Mac OS and Windows
We have a job that runs all unit tests for all feature combinations on Linux. I find it excessive to run all of this on Mac OS and Windows, so I added a separate job to run tests with all features enabled (which is 1 feature combination instead of all combinations).
1 parent 878d750 commit 3b0718d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎.github/workflows/main.yml

+16
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,19 @@ jobs:
101101
components: clippy
102102
- name: Running cargo clippy
103103
run: cargo clippy --all-targets -- --deny warnings
104+
105+
test-other-platforms:
106+
name: Test
107+
runs-on: ${{ matrix.os }}
108+
strategy:
109+
matrix:
110+
os: [macos-latest, windows-latest]
111+
steps:
112+
- name: Checkout Crate
113+
uses: actions/checkout@v4
114+
- name: Checkout Toolchain
115+
uses: dtolnay/rust-toolchain@stable
116+
- name: Set dependencies
117+
run: cp Cargo-recent.lock Cargo.lock
118+
- name: Run unit tests
119+
run: cargo test --locked --workspace --all-features

0 commit comments

Comments
 (0)
Please sign in to comment.