Skip to content

Commit

Permalink
added unit test job
Browse files Browse the repository at this point in the history
  • Loading branch information
cptpiepmatz committed Sep 14, 2024
1 parent 7528165 commit e6f32d0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,30 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} (doc)
- run: cargo doc --workspace

unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
crates:
- nu_plugin_plotters
- nu-jupyter-kernel
env:
RUSTFLAGS: "-D warnings"

steps:
- uses: actions/checkout@v4
- run: rustup update
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} (test ${{ matrix.crates }})
- run: cargo test -p ${{ matrix.crates }}

integration-test:
runs-on: ubuntu-latest

Expand Down

0 comments on commit e6f32d0

Please sign in to comment.