-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAS-1708 - Fix names of images built locally.
- Loading branch information
1 parent
5f27d0d
commit 7cd1232
Showing
9 changed files
with
33 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
############################################################################### | ||
# Execute the nasa/harmony-netcdf-to-zarr-test Docker image as a container. | ||
# This will run the unit test suite and check for Python linting errors. | ||
# | ||
# This script will output test coverage information to a `coverage` directory | ||
# and JUnit test report output to a `test-reports` directory on the host | ||
# machine executing this script. | ||
# | ||
############################################################################### | ||
|
||
set -ex | ||
|
||
# Make the directory into which XML format test reports will be saved | ||
mkdir -p test-reports | ||
|
||
# Make the directory into which coverage reports will be saved | ||
mkdir -p coverage | ||
|
||
# Run the tests in a Docker container with mounted volumes for XML report | ||
# output and test coverage reporting | ||
docker run --rm \ | ||
-v $(pwd)/test-reports:/home/tests/reports \ | ||
-v $(pwd)/coverage:/home/tests/coverage \ | ||
ghcr.io/nasa/harmony-netcdf-to-zarr-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters