ci: try correct codecov upload (#351)

This commit is contained in:
Rafael Cárdenas
2024-07-31 10:06:36 -06:00
committed by GitHub
parent 39774a9f86
commit 13e5a97b27
2 changed files with 8 additions and 7 deletions

View File

@@ -19,7 +19,14 @@ env:
jobs:
test:
strategy:
fail-fast: false
matrix:
suite: [cli, core]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./components/ordhook-${{ matrix.suite }}
steps:
- uses: actions/checkout@v4
with:
@@ -41,14 +48,8 @@ jobs:
rustup update
cargo install --force cargo-tarpaulin
- name: Run Core tests
- name: Run tests
run: |
cd ${{ github.workspace }}/components/ordhook-core
cargo tarpaulin --skip-clean --out lcov -- --test-threads=1
- name: Run CLI tests
run: |
cd ${{ github.workspace }}/components/ordhook-cli
cargo tarpaulin --skip-clean --out lcov -- --test-threads=1
- name: Upload coverage reports to Codecov