[CI][1/2] Re-do the github actions workflows, migrate various travis and appveyor tests. #2675
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR overhauls the CI into something hopefully a bit simpler/sensible. Now, we have recategorized the github actions into just two workflows: long and short tests. The short tests should provide quick feedback if there's some typo/build error.
All per-release tests on Travis have been changed to per-PR, and have either stayed in Travis or been moved to GH-actions if possible. Those remaining in travis typically are the more niche build configurations and whatnot. Adding a nightly build to travis as discussed offline isn't necessary since we can actually run these per-PR, since the remaining tests aren't so long (and Travis runs them in parallel, and completes faster than
dev-long-tests
).Note that no tests have been removed, and tests run either as frequently or more frequently than before, though they may have been migrated or broken up into independent tests.
So, this PR:
dev-short-tests
anddev-long-tests
workflows. Short tests are defined as those that typically finish under 5min, long tests are typically more than 10 min.Next steps:
Open questions:
regressiontest
get added as per-PR? I don't see why it'd make more sense to run nightly rather than per-PR. It's also not that long.clang
static analyzer warnings? It seems like most of these are false positives.