Skip to content

Commit

Permalink
update components workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieastley committed Feb 16, 2024
1 parent 08d96d9 commit 252865c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pop_pop_components_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- ".github/workflows/**"

jobs:
analyze_test:
test:
defaults:
run:
working-directory: packages/pop_pop_components
Expand All @@ -34,8 +34,16 @@ jobs:
- run: flutter pub get
- run: flutter analyze
- run: flutter test --coverage
id: flutterTest

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload golden test failures
uses: actions/upload-artifact@v4
if: failure() && steps.flutterTest.outcome == 'failure'
with:
name: test-failures
path: packages/pop_pop_components/test/failures/

0 comments on commit 252865c

Please sign in to comment.