Skip to content

Commit

Permalink
Use the correct yml format
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Nov 7, 2024
1 parent aa48286 commit da4a48b
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI_BoundaryValueDiffEq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
verbose: true
fail_ci_if_error: true

downgrade:
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_BoundaryValueDiffEqAscher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
verbose: true
fail_ci_if_error: true

downgrade:
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
46 changes: 32 additions & 14 deletions .github/workflows/CI_BoundaryValueDiffEqCore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:

jobs:
tests:
name: "Tests"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
Expand All @@ -50,26 +50,44 @@ jobs:
run: |
import Pkg
Pkg.Registry.update()
# Install packages present in subdirectories
dev_pks = Pkg.PackageSpec[]
for path in ("lib/BoundaryValueDiffEqCore",)
push!(dev_pks, Pkg.PackageSpec(; path))
end
Pkg.develop(dev_pks)
Pkg.instantiate()
Pkg.test(; coverage="user")
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/BoundaryValueDiffEqMIRK {0}
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/BoundaryValueDiffEqCore {0}
- uses: julia-actions/julia-processcoverage@v1
with:
directories: lib/BoundaryValueDiffEqMIRK/src,lib/BoundaryValueDiffEqCore/src
directories: lib/BoundaryValueDiffEqCore/src
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- "1.10"
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
- uses: julia-actions/julia-downgrade-compat@v1
- name: "Install Dependencies and Run Tests"
run: |
import Pkg
Pkg.Registry.update()
Pkg.instantiate()
Pkg.test(; coverage="user")
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=lib/BoundaryValueDiffEqCore {0}
- uses: julia-actions/julia-processcoverage@v1
with:
directories: lib/BoundaryValueDiffEqCore/src
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
group: "${{ matrix.group }}"
julia-version: "${{ matrix.version }}"
secrets: "inherit"
2 changes: 1 addition & 1 deletion .github/workflows/CI_BoundaryValueDiffEqFIRK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
verbose: true
fail_ci_if_error: true

downgrade:
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_BoundaryValueDiffEqMIRK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
verbose: true
fail_ci_if_error: true

downgrade:
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_BoundaryValueDiffEqShooting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
verbose: true
fail_ci_if_error: true

downgrade:
downgrade:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit da4a48b

Please sign in to comment.