Skip to content

Commit

Permalink
trying cargo test
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Jan 5, 2024
1 parent 822d53d commit 005680e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ jobs:
# ^^^ the front-end looks for keys at compile time, so we need these in

# We need `--test-threads=1` due to a Diesel/postgres bug
- name: Run tests (w/ cargo llvm-cov)
- name: Run tests and get coverage
run: |
cargo llvm-cov clean --workspace
cargo llvm-cov --no-report --package smithe_lib --lib -- --exact --nocapture --test-threads=1
cargo llvm-cov report --lcov --output-path ./coverage.lcov
cargo test--package smithe_lib --lib -- --exact --nocapture --test-threads=1
# cargo llvm-cov clean --workspace
# cargo llvm-cov --no-report --package smithe_lib --lib -- --exact --nocapture --test-threads=1
# cargo llvm-cov report --lcov --output-path ./coverage.lcov
env:
PIDGTM_DATABASE_URL: ${{ secrets.PIDGTM_DATABASE_URL }}
STARTGG_TOKEN: ${{ secrets.STARTGG_TOKEN }}
Expand Down

0 comments on commit 005680e

Please sign in to comment.