Skip to content

Commit

Permalink
build(CI): improve ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic committed Mar 27, 2024
1 parent d7ff974 commit 0f0d3e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 87 deletions.
84 changes: 0 additions & 84 deletions .github/workflows/safety.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: cargo generate-lockfile
# https://twitter.com/jonhoo/status/1571290371124260865
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets
run: cargo test --locked --all-features --tests
# https://github.com/rust-lang/cargo/issues/6669
- name: cargo test --doc
run: cargo test --locked --all-features --doc
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: cargo update -Zminimal-versions
run: cargo +nightly update -Zminimal-versions
- name: cargo test
run: cargo test --locked --all-features --all-targets
run: cargo test --locked --all-features --tests
os-check:
# run cargo test on mac and windows
runs-on: ${{ matrix.os }}
Expand All @@ -106,7 +106,7 @@ jobs:
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo test
run: cargo test --locked --all-features --all-targets
run: cargo test --locked --all-features --tests
coverage:
# use llvm-cov to build and collect coverage and outputs in a format that
# is compatible with codecov.io
Expand Down

0 comments on commit 0f0d3e6

Please sign in to comment.