Skip to content

Commit

Permalink
Make workflows quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
mirromutth committed Dec 21, 2023
1 parent 9c94490 commit aacd63d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run tests for task with spins
run: cargo llvm-cov --no-report -p latches --no-default-features --features task
run: cargo llvm-cov --no-report -q -p latches --no-default-features --features task
- name: Run tests for all with atomic-wait
run: cargo llvm-cov --no-report -p latches --no-default-features --features task --features futex --features sync
run: cargo llvm-cov --no-report -q -p latches --no-default-features --features task --features futex --features sync
- name: Run tests for all features
run: cargo llvm-cov --no-report -p latches --all-features
run: cargo llvm-cov --no-report -q -p latches --all-features
- name: Generate coverage report
run: cargo llvm-cov report --codecov --ignore-filename-regex tests --output-path codecov.json
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p latches
run: cargo publish -q -p latches
34 changes: 16 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,21 @@ jobs:
- name: Install clippy
run: rustup component add clippy
- name: Run clippy for sync with atomic-wait
run: cargo clippy -p latches --no-default-features --features sync --features atomic-wait
- name: Run clippy for sync with atomic-wait
run: cargo clippy -p latches --no-default-features --features sync --features atomic-wait
run: cargo clippy -q -p latches --no-default-features --features sync --features atomic-wait
- name: Run clippy for sync with std
run: cargo clippy -p latches --no-default-features --features sync --features std
run: cargo clippy -q -p latches --no-default-features --features sync --features std
- name: Run clippy for futex
run: cargo clippy -p latches --no-default-features --features futex
run: cargo clippy -q -p latches --no-default-features --features futex
- name: Run clippy for task with spins
run: cargo clippy -p latches --no-default-features --features task
run: cargo clippy -q -p latches --no-default-features --features task
- name: Run clippy for task with atomic-wait
run: cargo clippy -p latches --no-default-features --features task --features atomic-wait
run: cargo clippy -q -p latches --no-default-features --features task --features atomic-wait
- name: Run clippy for task with std
run: cargo clippy -p latches --no-default-features --features task --features std
run: cargo clippy -q -p latches --no-default-features --features task --features std
- name: Run clippy for all with atomic-wait
run: cargo clippy -p latches --no-default-features --features task --features futex --features sync
run: cargo clippy -q -p latches --no-default-features --features task --features futex --features sync
- name: Run clippy for all targets
run: cargo clippy --all-targets --all-features
run: cargo clippy -q --all-targets --all-features
tests:
runs-on: ubuntu-latest
timeout-minutes: 15
Expand All @@ -44,18 +42,18 @@ jobs:
- name: Install Rust
run: rustup update stable
- name: Run tests for sync with atomic-wait
run: cargo test -p latches --no-default-features --features sync --features atomic-wait
run: cargo test -q -p latches --no-default-features --features sync --features atomic-wait
- name: Run tests for sync with std
run: cargo test -p latches --no-default-features --features sync --features std
run: cargo test -q -p latches --no-default-features --features sync --features std
- name: Run tests for futex
run: cargo test -p latches --no-default-features --features futex
run: cargo test -q -p latches --no-default-features --features futex
- name: Run tests for task with spins
run: cargo test -p latches --no-default-features --features task
run: cargo test -q -p latches --no-default-features --features task
- name: Run tests for task with atomic-wait
run: cargo test -p latches --no-default-features --features task --features atomic-wait
run: cargo test -q -p latches --no-default-features --features task --features atomic-wait
- name: Run tests for task with std
run: cargo test -p latches --no-default-features --features task --features std
run: cargo test -q -p latches --no-default-features --features task --features std
- name: Run tests for all with atomic-wait
run: cargo test -p latches --no-default-features --features task --features futex --features sync
run: cargo test -q -p latches --no-default-features --features task --features futex --features sync
- name: Run tests with std
run: cargo test -p no-std-tests -p latches --all-features
run: cargo test -q -p no-std-tests -p latches --all-features

0 comments on commit aacd63d

Please sign in to comment.