Skip to content

Commit

Permalink
Add a github action to test bitvec
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt committed May 20, 2024
1 parent 5fb8550 commit 5606738
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: All Tests

on:
pull_request:
push:
branches:
- master

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ubuntu-latest
rust:
- stable
- beta
- nightly
- "1.56.1"
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test

docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy

- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --no-deps --document-private-items --workspace

0 comments on commit 5606738

Please sign in to comment.