Skip to content

Add release workflow #699

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

Merged
merged 12 commits into from
Apr 2, 2025
Merged

Add release workflow #699

merged 12 commits into from
Apr 2, 2025

Conversation

ehennestad
Copy link
Collaborator

@ehennestad ehennestad commented Apr 1, 2025

Motivation

Create a workflow to use for preparing new releases.
The workflow is triggered via workflow_dispatch, so it can be run from the Actions page. It requires a version number as an input and will run the following jobs/steps

  • Matrix testing across all available MATLAB releases on ubuntu-latest, windows-latest and macos-13
  • Publish test results

If tests succeed:

  • It will update the version number in a newly added Contents.m file and push back to the main branch
  • Create a tested_with badge that will be pushed to the gh-badges branch
  • Create a new draft release using the version number as a tag.

How to test the behavior?

Run the workflow

Checklist

  • Have you ensured the PR description clearly describes the problem and solutions?
  • Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
  • If this PR fixes an issue, is the first line of the PR description fix #XX where XX is the issue number?

Add ad hoc pc compatibility fix
Some requirements are not present by default on windows runners
Fix problems running tests on mac and windows runners
Use deploy key as this will job will push back to protected branch
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.86%. Comparing base (d38a5f7) to head (df2431f).
Report is 19 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #699   +/-   ##
=======================================
  Coverage   94.86%   94.86%           
=======================================
  Files         146      146           
  Lines        5552     5552           
=======================================
  Hits         5267     5267           
  Misses        285      285           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ehennestad ehennestad marked this pull request as ready for review April 1, 2025 20:50
@ehennestad ehennestad requested a review from bendichter April 1, 2025 20:51
@ehennestad ehennestad merged commit 5f1b8cf into main Apr 2, 2025
15 checks passed
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