Skip to content

Commit

Permalink
rust.yml test on Windows, Mac OS
Browse files Browse the repository at this point in the history
Issue #202
  • Loading branch information
jtmoon79 committed Oct 22, 2023
1 parent c1b49ff commit 39b137c
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ jobs:
cargo --version
cargo bench --no-run
job_test:
job_test_linux:
# this job downloads and builds dependency crates
name: test
name: test linux
needs: [job_rust_release_channel, job_rust_msrv_os]
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -265,6 +265,46 @@ jobs:
export NEXTEST_TEST_THREADS="num-cpus"
cargo nextest run --bin s4 --lib --fail-fast --final-status-level=all
job_test_windows:
# this job downloads and builds dependency crates
name: test Windows
#needs: [job_rust_release_channel, job_rust_msrv_os]

Check warning on line 271 in .github/workflows/rust.yml

View workflow job for this annotation

GitHub Actions / yamllint

271:6 [comments] missing starting space in comment
runs-on: windows-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: install nextest
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-nextest --locked
- name: nextest (all)
shell: powershell
run: |
cargo.exe nextest --version
${env:NEXTEST_TEST_THREADS}="num-cpus"
cargo.exe nextest run --bin s4 --lib --fail-fast --final-status-level=all
job_test_macos:
# this job downloads and builds dependency crates
name: test Mac OS
#needs: [job_rust_release_channel, job_rust_msrv_os]

Check warning on line 291 in .github/workflows/rust.yml

View workflow job for this annotation

GitHub Actions / yamllint

291:6 [comments] missing starting space in comment
runs-on: macos-latest
steps:
- name: git checkout
uses: actions/checkout@v3
- name: install nextest
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-nextest --locked
- name: nextest (all)
shell: bash
run: |
cargo.exe nextest --version
${env:NEXTEST_TEST_THREADS}="num-cpus"
cargo.exe nextest run --bin s4 --lib --fail-fast --final-status-level=all
job_doc_publish:
# this job downloads and builds dependency crates
name: doc, publish
Expand Down

0 comments on commit 39b137c

Please sign in to comment.