-
Notifications
You must be signed in to change notification settings - Fork 24
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
Implement Continuous Integration with GitHub Actions in MET #1546
Comments
Outline basic step we want to do --
|
This issue needs to be retitled for GitHub Actions instead of Travis (or closed). |
On 1/19/22, @georgemccabe and @JohnHalleyGotway met to discuss these details. Goals for this test automation.
|
… MET and tools needed to run unit tests into seperate Dockerfiles
…rom a Dockerfile so that it can be called from Dockerfile and Dockerfile.copy
…cker image instead of cloning the repository
…. This was not needed in Dockerfile because the commands were chained together with &&, but in a script execution will continue after a failed command
…ach script that needs to use it
…local source code, set environment variables that set docker build args in workflow yml
…hat should trigger compilation test and make change that should break compilation
…ure_1546_ci_testing branch.
…fact to download in dependent step, download all output artifacts and run diff at end of workflow
…because that is an invalid character for GHA artifacts
…tables since this was changed in PR #2001, ci-run-unit
…1a, create output directory before copying unit test artifact files for diff job, ci-run-unit
@georgemccabe thanks for making lots of good progress on this issue. As discussed in Slack, we have many options for reducing the overall runtime of the unit tests in GHA (which are currently a little less than an hour). Here's a list of tasks to consider (add more as you see fit):
|
…f tests will succeed, ci-run-unit
…at we can run more tasks concurrently and complete the unit tests faster via GitHub actions.
… 1a and ref_config jobs to consume fewer machines, hoping that provides resources for the 2a and 2b jobs to start sooner.
…12, 24, 36, and 48 run 8, 11, 11, 14, and 11 tests, respectively. So do lead 36 by itself as a 3rd job.
…h tighter dependencies. Elimate Unit Tests group 3a and have each stat_analysis XML run in group 2a once it dependent tests complete.
… so that an error will occur if MET_TEST_MET_PYTHON_EXE is set when running a test that needs it to be set
Replace italics below with details for this issue.
Describe the New Feature
Implement Travis CI into MET
Acceptance Testing
John -- what tests should be run each build
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Relevant Deadlines
MET future versions
Funding Source
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
New Feature Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s), Project(s), Milestone, and Linked issues
The text was updated successfully, but these errors were encountered: