mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 22:43:06 +08:00
ci: try correct codecov upload (#351)
This commit is contained in:
15
.github/workflows/ci.yaml
vendored
15
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user