Add CI workflow to run Flutter unit tests on PRs to master#133
Merged
java-james merged 6 commits intomasterfrom Aug 20, 2025
Merged
Add CI workflow to run Flutter unit tests on PRs to master#133java-james merged 6 commits intomasterfrom
java-james merged 6 commits intomasterfrom
Conversation
Copilot
AI
changed the title
[WIP] Add CI workflow to run Flutter unit tests on PRs to master
Add CI workflow to run Flutter unit tests on PRs to master
Aug 19, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow to automatically run Flutter unit tests and collect coverage reports on pull requests and pushes to the master branch.
- Implements CI automation for Flutter testing with coverage reporting
- Adds dependency caching and concurrency controls for efficient CI resource usage
- Configures artifact upload for coverage reports to enable future analysis
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
java-james
requested changes
Aug 19, 2025
Owner
|
@copilot This PR will be requiring a rebase on the latest master now. |
Author
Co-authored-by: java-james <22756998+java-james@users.noreply.github.com>
Co-authored-by: java-james <22756998+java-james@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: java-james <22756998+java-james@users.noreply.github.com>
d887a44 to
4e863b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a GitHub Actions workflow to automatically run Flutter unit tests on pull requests targeting the master branch and on pushes to master.
The workflow includes:
flutter test --coverageon every PR and push to masterpubspec.lockhash for faster buildscoverage/lcov.infoas an artifact for each test runubuntu-latestfor consistent, fast executionThe workflow will fail if any unit tests fail, ensuring code quality is maintained. Coverage reports will be available as downloadable artifacts from each workflow run.
Once merged, this can be configured as a required status check in branch protection rules to ensure all PRs have passing tests before merge.
Fixes #132.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://storage.googleapis.com/flutter_infra_release/flutter/1e9a811bf8e70466596bcf0ea3a8b5adb5f17f7f/dart-sdk-linux-x64.zipcurl --retry 3 --continue-at - --location --output /tmp/flutter/bin/cache/dart-sdk-linux-x64.zip REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.