-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from ArnoStrouwen/CI
more CI
- Loading branch information
Showing
5 changed files
with
47 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,56 @@ | ||
name: CI | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'LICENSE.md' | ||
- 'README.md' | ||
- '.github/workflows/CompatHelper.yml' | ||
- '.github/workflows/TagBot.yml' | ||
tags: '*' | ||
pull_request: | ||
|
||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'LICENSE.md' | ||
- 'README.md' | ||
- '.github/workflows/CompatHelper.yml' | ||
- '.github/workflows/TagBot.yml' | ||
|
||
schedule: | ||
- cron: '53 12 * * 0' | ||
jobs: | ||
test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
GROUP: ${{ matrix.group }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
group: | ||
- Core | ||
version: | ||
- '1' | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
- x64 | ||
- macos-latest | ||
- windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-artifacts | ||
- uses: julia-actions/cache@v1 | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
with: | ||
depwarn: error | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
file: lcov.info | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
fail_ci_if_error: true | ||
|
||
file: lcov.info |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
using ReactionNetworkImporters, Test | ||
using SafeTestsets, Test | ||
|
||
@time begin | ||
@time @testset "Quality Assurance" begin include("qa.jl") end | ||
@time @testset "BNG Birth-Death Test" begin include("test_nullrxs_odes.jl") end | ||
@time @testset "BNG Repressilator Test" begin include("test_repressilator_odes.jl") end | ||
@time @testset "BNG Higher Order Test" begin include("test_higherorder_odes.jl") end | ||
@time @testset "Matrix Input Test" begin include("test_mats.jl") end | ||
@time @safetestset "Quality Assurance" begin include("qa.jl") end | ||
@time @safetestset "BNG Birth-Death Test" begin include("test_nullrxs_odes.jl") end | ||
@time @safetestset "BNG Repressilator Test" begin include("test_repressilator_odes.jl") end | ||
@time @safetestset "BNG Higher Order Test" begin include("test_higherorder_odes.jl") end | ||
@time @safetestset "Matrix Input Test" begin include("test_mats.jl") end | ||
end |