Skip to content

Commit

Permalink
chore: enable codecov for flutter integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Nov 1, 2024
1 parent 910b643 commit 44ad943
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/flutter_integration_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,11 @@ runs:
sudo apt-get install network-manager
flutter test ${{ inputs.test_path }} -d Linux --coverage
shell: bash

- uses: codecov/codecov-action@v4
with:
working-directory: frontend/appflowy_flutter
flags: flutter_integration_test_${{ inputs.test_path }}
name: flutter_integration_test_${{ inputs.test_path }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
14 changes: 14 additions & 0 deletions .github/workflows/flutter_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ jobs:
fi
shell: bash

- uses: codecov/codecov-action@v4
with:
working-directory: frontend/appflowy_flutter
verbose: true
flags: flutter_unit_test
name: flutter_unit_test

cloud_integration_test:
needs: [prepare-linux]
strategy:
Expand Down Expand Up @@ -339,6 +346,13 @@ jobs:
flutter test integration_test/desktop/cloud/cloud_runner.dart -d Linux --coverage
shell: bash

- uses: codecov/codecov-action@v4
with:
working-directory: frontend/appflowy_flutter
verbose: true
flags: flutter_integration_test_cloud_runner
name: flutter_integration_test_cloud_runner

integration_test:
needs: [prepare-linux]
if: github.event.pull_request.draft != true
Expand Down

0 comments on commit 44ad943

Please sign in to comment.