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

ci(test-private-package): update trigger to use pull_request #4101

Merged
merged 6 commits into from
Jun 10, 2024

Conversation

gagantrivedi
Copy link
Member

@gagantrivedi gagantrivedi commented Jun 4, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Use pull request trigger with api label instead of merge_group to run private package tests
Fix test to use mock instead of updating setting so that other tests can avoid reloading the module

How did you test this code?

Workflow ran successfully here: https://github.com/Flagsmith/flagsmith/actions/runs/9435463004/job/25988919376?pr=4101

@gagantrivedi gagantrivedi added the api Issue related to the REST API label Jun 4, 2024
Copy link

vercel bot commented Jun 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2024 9:13am
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2024 9:13am
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2024 9:13am

Use pull request trigger with api label instead of merge_group
to run private package tests
Copy link
Contributor

github-actions bot commented Jun 4, 2024

Uffizzi Preview deployment-52611 was deleted.

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.49%. Comparing base (a3d64e6) to head (bb468f4).
Report is 31 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4101      +/-   ##
==========================================
+ Coverage   96.44%   96.49%   +0.05%     
==========================================
  Files        1149     1174      +25     
  Lines       37596    38122     +526     
==========================================
+ Hits        36259    36787     +528     
+ Misses       1337     1335       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@zachaysan zachaysan left a comment

Choose a reason for hiding this comment

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

Theres some CI failures that are a bit of a head scratcher but the code looks good to me.

@github-actions github-actions bot added the ci-cd Build, test and deployment related label Jun 7, 2024
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jun 7, 2024
@gagantrivedi gagantrivedi reopened this Jun 7, 2024
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jun 7, 2024
@gagantrivedi gagantrivedi added api Issue related to the REST API and removed api Issue related to the REST API labels Jun 7, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

Uffizzi Preview deployment-52765 was deleted.

@gagantrivedi gagantrivedi added api Issue related to the REST API and removed api Issue related to the REST API labels Jun 7, 2024
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jun 7, 2024
@github-actions github-actions bot added ci-cd Build, test and deployment related and removed ci-cd Build, test and deployment related labels Jun 9, 2024
@gagantrivedi gagantrivedi added api Issue related to the REST API and removed api Issue related to the REST API labels Jun 9, 2024
@gagantrivedi
Copy link
Member Author

Theres some CI failures that are a bit of a head scratcher but the code looks good to me.

Yeah, it was a nasty one! Fixed now

@gagantrivedi gagantrivedi added the improvement Improvement to the existing platform label Jun 10, 2024
@gagantrivedi gagantrivedi added this pull request to the merge queue Jun 10, 2024
Merged via the queue into main with commit 0781929 Jun 10, 2024
24 checks passed
@gagantrivedi gagantrivedi deleted the ci/test-private-package branch June 10, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API ci-cd Build, test and deployment related github improvement Improvement to the existing platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants