Skip to content

refactor: use test tags instead of env vars - #255

Merged
demolaf merged 1 commit into
mainfrom
test-tags
Apr 28, 2026
Merged

demolaf merged 1 commit into
mainfrom
test-tags

Conversation

@demolaf

@demolaf demolaf commented Apr 28, 2026

Copy link
Copy Markdown
Member

No description provided.

@demolaf
demolaf marked this pull request as draft April 28, 2026 14:48
@github-actions

github-actions Bot commented Apr 28, 2026 •

Copy link
Copy Markdown

Coverage Report

✅ Coverage 74.61% meets 40% threshold

Total Coverage: 74.61%
Lines Covered: 5109/6848

Package Breakdown

Package Coverage
firebase_admin_sdk 72.36%
google_cloud_firestore 77.16%

Minimum threshold: 40%

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions the test suite from manual environment variable-based skipping to using Dart's native test tagging system. It introduces prod and wif tags to identify tests that require production APIs or Workload Identity Federation, respectively. The changes include adding dart_test.yaml configurations, applying tags to relevant test files and groups, and updating coverage scripts to handle these tags conditionally based on the presence of credentials. I have no feedback to provide.

@demolaf
demolaf marked this pull request as ready for review April 28, 2026 14:55
@demolaf
demolaf requested a review from Lyokone April 28, 2026 14:56
@demolaf
demolaf merged commit 4873d0e into main Apr 28, 2026
11 checks passed
@demolaf
demolaf deleted the test-tags branch April 28, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants