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

test: by default, don't generate code for runner integration #905

Merged
merged 15 commits into from
Feb 21, 2024

Conversation

lars-reimann
Copy link
Member

@lars-reimann lars-reimann commented Feb 21, 2024

Closes #900

Summary of Changes

  • We now have only a few targeted generator tests for the runner integration, instead of having this scattered across almost all tests.
  • Use vitest's toMatchFileSnapshot to easily be able to update the expected output after changes to the code generator. Run vitest --update to do so.

@lars-reimann lars-reimann linked an issue Feb 21, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Feb 21, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ MARKDOWN markdown-link-check 1 0 0.29s
✅ REPOSITORY git_diff yes no 0.04s
✅ TYPESCRIPT eslint 3 0 0 4.29s
✅ TYPESCRIPT prettier 3 0 0 1.11s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5630a9f) 100.00% compared to head (2004a17) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #905   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           92        92           
  Lines        16804     16809    +5     
  Branches      3404      3406    +2     
=========================================
+ Hits         16804     16809    +5     

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

@lars-reimann lars-reimann marked this pull request as ready for review February 21, 2024 17:15
@lars-reimann lars-reimann marked this pull request as draft February 21, 2024 17:17
@lars-reimann lars-reimann marked this pull request as ready for review February 21, 2024 17:47
@lars-reimann lars-reimann merged commit 048d9cf into main Feb 21, 2024
7 checks passed
@lars-reimann lars-reimann deleted the 900-use-eject-as-baseline-in-generator-tests branch February 21, 2024 17:47
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use "eject" as baseline in generator tests
1 participant