Skip to content

Commit

Permalink
Check pana in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dipu-bd committed Sep 12, 2024
1 parent 0b33aaf commit d311a9a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,30 @@ jobs:

- name: 'Install global packages'
run: |
dart pub global activate pana
dart pub global activate coverage
dart pub global activate cobertura
dart pub global activate junitreport
- name: Run tests with coverage
run: bash ./scripts/coverage.sh

- name: Upload results to Codecov
- name: Upload coverage report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/cobertura.xml

- name: Upload test results to Codecov
- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/junit.xml

- name: Check pana
run: pana --exit-code-threshold 0

test-on-stable:
strategy:
matrix:
Expand Down

0 comments on commit d311a9a

Please sign in to comment.