diff options
| author | A Farzat <a@farzat.xyz> | 2026-03-09 08:20:17 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-03-09 08:20:17 +0300 |
| commit | 904f91027cdfa91790da6bfd153627616ad512fb (patch) | |
| tree | 9b2028e0d282b02b1bb1d707f22365c4703223e2 | |
| parent | 757c0ff90a2d6cc41c77c26050c50b1b9ceecbec (diff) | |
| download | oreilly-epub-904f91027cdfa91790da6bfd153627616ad512fb.tar.gz oreilly-epub-904f91027cdfa91790da6bfd153627616ad512fb.zip | |
Add GitHub workflow job for tests
Though we do not have any tests yet, this will make sure they are
checked once they are there.
| -rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8978fd..36f29cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,3 +31,26 @@ jobs: - name: Run clippy run: cargo clippy --all-targets --all-features -- -D warnings + + test: + needs: check + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Cache cargo + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: rust-${{ hashFiles('Cargo.lock') }} + + - name: Run tests + run: cargo test --all |
