Skip to content

Migrate to GitHub Actions and add test infrastructure with Catch2#96

Open
nhthn wants to merge 7 commits intocraigsapp:masterfrom
nhthn:master
Open

Migrate to GitHub Actions and add test infrastructure with Catch2#96
nhthn wants to merge 7 commits intocraigsapp:masterfrom
nhthn:master

Conversation

@nhthn
Copy link

@nhthn nhthn commented Feb 2, 2022

Hi Craig! Small world, we've actually met before (Point Lobos trip with Jeff years ago).

I have been using midifile in a singing synthesizer project I'm working on, and it's fantastic. However, there is some bitrot happening in this repo with regards to CMake versions and Travis CI dropping their free tier. I also thought it would be cool to start on integration and unit test coverage.

This PR makes the following changes:

  • upgrades from CMake 2.8 to 3.0 to avoid an unsupported software warning
  • drops Travis and AppVeyor in favor of GitHub Actions
  • adds Catch2 as a submodule and introduces two integration tests for starters
  • runs tests in CI

Copy link
Contributor

@rettinghaus rettinghaus left a comment

Choose a reason for hiding this comment

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

Looks preety good to me. Please update to latest major version of the action.

Also you should consider using a matrix strategy, at least for the linux and macOS jobs.

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- uses: actions/checkout@v2
- uses: actions/checkout@v4

windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- uses: actions/checkout@v2
- uses: actions/checkout@v4

macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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