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: setup workflow to run semantic tests weekly #958

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented May 1, 2024

Cherry-pick of G-Rath/osv-detector#182


This setups up a dedicated workflow for running the semantic test suite using the latest generated fixtures:

  • every sunday
  • whenever a generator or the workflow is changed
  • via a workflow_dispatch

This helps ensure high confidence in semantic across ecosystems; the workflow also exports the generated files as an artifact which makes it easy to update the committed version of each fixture without requiring the native ecosystem components (i.e. Ruby, Java, R, etc) to be installed.

Note currently this is using v3 of the artifact actions - I'll upgrade to v4 in a follow-up PR, since it will require further work due to them switching to using immutable artifacts.

At some point I'm also keen to explore this for the API side since the logic should be pretty much the same

@G-Rath G-Rath force-pushed the generators/introduce-semantic-workflow branch 2 times, most recently from baa7208 to 5f95a0c Compare May 1, 2024 19:57
@codecov-commenter
Copy link

codecov-commenter commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.69%. Comparing base (9fee150) to head (999f335).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #958      +/-   ##
==========================================
- Coverage   63.71%   63.69%   -0.02%     
==========================================
  Files         146      146              
  Lines       11958    11958              
==========================================
- Hits         7619     7617       -2     
- Misses       3875     3876       +1     
- Partials      464      465       +1     

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

@G-Rath G-Rath force-pushed the generators/introduce-semantic-workflow branch 3 times, most recently from 7d6e6ed to 94c37b0 Compare May 3, 2024 04:02
@G-Rath G-Rath force-pushed the generators/introduce-semantic-workflow branch from 94c37b0 to 999f335 Compare May 6, 2024 23:15
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.

None yet

2 participants