Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable codecov for flutter integration tests #6694

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 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,10 @@ 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 }}
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
Loading