-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6180f2
commit 45409a3
Showing
11 changed files
with
93 additions
and
1,031 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: DockerCI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.3, 1.4] | ||
os: [ubuntu-latest] | ||
python: [ '3.x' ] | ||
project: ['CalibrateEmulateSample'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and run Docker image, submit coverage | ||
run: | | ||
docker build . --file Dockerfile --tag ces:PR | ||
docker images | ||
docker run ces:PR | ||
- name: "Generate coverage" | ||
env: | ||
JULIA_PROJECT: "@." | ||
run: julia --project=@. -e 'using Pkg; | ||
cd(Pkg.dir("CalibrateEmulateSample")); | ||
Pkg.add("Coverage"); | ||
using Coverage; | ||
LCOV.writefile("coverage-lcov.info", Codecov.process_folder())' | ||
if: success() | ||
- name: "Submit coverage" | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
if: success() | ||
|
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
Oops, something went wrong.