feat: add ci
This commit is contained in:
parent
54686fc93d
commit
42632f81e4
5 changed files with 38 additions and 6 deletions
26
.github/workflows/ci-tests.yml
vendored
Normal file
26
.github/workflows/ci-tests.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
RUST_BACKTRACE: full
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --all-features --workspace --tests --bins --lib
|
||||
- name: Run doctests
|
||||
run: cargo test --verbose --all-features --workspace --doc
|
Loading…
Add table
Add a link
Reference in a new issue