repository template for Rust projects

ci: simplify test CI workflow #4

merged opened by samanthanguyen.me targeting main from test-workflow
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:smd2mvg2dao4rqnnz6qexdov/sh.tangled.repo.pull/3mbg6aekotl22
+4 -14
Diff #0
+4 -14
.tangled/workflows/test.yml
··· 7 dependencies: 8 nixpkgs: 9 - cargo 10 - - cargo-llvm-cov 11 - rustup 12 13 steps: 14 - # `--doctests` flag for `cargo llvm-cov` requires nightly channel 15 - # see: https://github.com/taiki-e/cargo-llvm-cov/issues/2 16 - name: Setup Rust 17 command: | 18 rustup set profile minimal 19 - rustup toolchain install nightly 20 - rustup override set nightly 21 - rustup component add llvm-tools-preview 22 - name: Print environment info 23 command: | 24 rustc --version --verbose 25 cargo --version 26 rustup --version 27 - - name: Generate code coverage 28 - command: | 29 - cargo llvm-cov \ 30 - --all-features \ 31 - --workspace \ 32 - --lcov \ 33 - --output-path lcov.info \ 34 - --doctests \
··· 7 dependencies: 8 nixpkgs: 9 - cargo 10 - rustup 11 12 steps: 13 - name: Setup Rust 14 command: | 15 rustup set profile minimal 16 + rustup toolchain install stable 17 + rustup override set stable 18 - name: Print environment info 19 command: | 20 rustc --version --verbose 21 cargo --version 22 rustup --version 23 + - name: Run tests 24 + command: cargo test

Submissions

sign up or login to add to the discussion
samanthanguyen.me submitted #1
2 commits
expand
ci: simplify test CI workflow
ci: add gcc as dependency to test workflow
pull request successfully merged
samanthanguyen.me submitted #0
1 commit
expand
ci: simplify test CI workflow
1/4 failed, 3/4 success
expand