Skip to content

Commit

Permalink
ci: features
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Oct 15, 2024
1 parent 4cda790 commit df0f72d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
strategy:
fail-fast: false
matrix:
suite: [cli, sdk]
include:
- suite: cli
features: redis_tests
- suite: sdk
features: stacks-signers
defaults:
run:
working-directory: ./components/chainhook-${{ matrix.suite }}
Expand All @@ -39,7 +43,6 @@ jobs:
if: matrix.suite == 'cli'
run: |
sudo apt-get install -y redis-server
echo "TARPAULIN_FLAGS=--features redis_tests" >> $GITHUB_ENV
- name: Cache cargo
uses: actions/cache@v4
Expand All @@ -61,7 +64,7 @@ jobs:
- name: Run tests
run: |
cargo tarpaulin --skip-clean --out lcov ${{ env.TARPAULIN_FLAGS }} -- --test-threads=1
cargo tarpaulin --skip-clean --out lcov --features ${{ matrix.features }} -- --test-threads=1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit df0f72d

Please sign in to comment.