diff --git a/.github/workflows/CI_BracketingNonlinearSolve.yml b/.github/workflows/CI_BracketingNonlinearSolve.yml deleted file mode 100644 index 9639534988..0000000000 --- a/.github/workflows/CI_BracketingNonlinearSolve.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI (BracketingNonlinearSolve) - -on: - pull_request: - paths: - - "lib/BracketingNonlinearSolve/**" - - ".github/workflows/CI_BracketingNonlinearSolve.yml" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/BracketingNonlinearSolve" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/BracketingNonlinearSolve" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolve.yml b/.github/workflows/CI_NonlinearSolve.yml index 7fafa19a56..34b7178648 100644 --- a/.github/workflows/CI_NonlinearSolve.yml +++ b/.github/workflows/CI_NonlinearSolve.yml @@ -8,7 +8,7 @@ on: - "test/**" - "Project.toml" - ".github/workflows/CI_NonlinearSolve.yml" - - "lib/SciMLNonlinearOperators/**" + - "lib/SciMLJacobianOperators/**" - "lib/BracketingNonlinearSolve/**" - "lib/NonlinearSolveBase/**" - "lib/SimpleNonlinearSolve/**" @@ -27,6 +27,7 @@ concurrency: jobs: test: + name: "Tests" strategy: fail-fast: false matrix: @@ -50,54 +51,10 @@ jobs: version: "1.11" - group: trim version: "lts" - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main + uses: "SciML/.github/.github/workflows/tests.yml@v1" with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} + julia-version: "${{ matrix.version }}" + group: "${{ matrix.group }}" + os: "${{ matrix.os }}" project: "." - local_dependencies: "lib/BracketingNonlinearSolve,lib/NonlinearSolveBase,lib/NonlinearSolveFirstOrder,lib/NonlinearSolveQuasiNewton,lib/NonlinearSolveSpectralMethods,lib/SimpleNonlinearSolve" - test_args: "GROUP=${{ matrix.group }}" - - # NOTE: Pre (Julia 1.13) tests are temporarily skipped due to ReTestItems incompatibility - # with Julia 1.13 ScopedValues API changes. See issue #776 for tracking. - test-pre: - if: false - strategy: - fail-fast: false - matrix: - group: - - core - - downstream - - wrappers - - misc - - trim - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "pre" - os: ${{ matrix.os }} - project: "." - local_dependencies: "lib/BracketingNonlinearSolve,lib/NonlinearSolveBase,lib/NonlinearSolveFirstOrder,lib/NonlinearSolveQuasiNewton,lib/NonlinearSolveSpectralMethods,lib/SimpleNonlinearSolve" - test_args: "GROUP=${{ matrix.group }}" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - strategy: - fail-fast: false - matrix: - group: - - core - - downstream - - wrappers - - misc - - nopre - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - project: "." - julia_version: "1.11" - downgrade_testing: true - test_args: "GROUP=${{ matrix.group }}" + secrets: "inherit" diff --git a/.github/workflows/CI_NonlinearSolveBase.yml b/.github/workflows/CI_NonlinearSolveBase.yml deleted file mode 100644 index 79e422f2ee..0000000000 --- a/.github/workflows/CI_NonlinearSolveBase.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: CI (NonlinearSolveBase) - -on: - pull_request: - paths: - - "lib/NonlinearSolveBase/**" - - ".github/workflows/CI_NonlinearSolveBase.yml" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveBase" - local_dependencies: "lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveBase" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolveFirstOrder.yml b/.github/workflows/CI_NonlinearSolveFirstOrder.yml deleted file mode 100644 index 67e069054a..0000000000 --- a/.github/workflows/CI_NonlinearSolveFirstOrder.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI (NonlinearSolveFirstOrder) - -on: - pull_request: - paths: - - "lib/NonlinearSolveFirstOrder/**" - - ".github/workflows/CI_NonlinearSolveFirstOrder.yml" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveFirstOrder" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveFirstOrder" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolveHomotopyContinuation.yml b/.github/workflows/CI_NonlinearSolveHomotopyContinuation.yml deleted file mode 100644 index 6c71aac7ed..0000000000 --- a/.github/workflows/CI_NonlinearSolveHomotopyContinuation.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: CI (NonlinearSolveHomotopyContinuation) - -on: - pull_request: - paths: - - "lib/NonlinearSolveHomotopyContinuation/**" - - ".github/workflows/CI_NonlinearSolveHomotopyContinuation.yml" - - "lib/NonlinearSolveBase/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveHomotopyContinuation" - local_dependencies: "lib/NonlinearSolveBase" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveHomotopyContinuation" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolveQuasiNewton.yml b/.github/workflows/CI_NonlinearSolveQuasiNewton.yml deleted file mode 100644 index 4db29ef5df..0000000000 --- a/.github/workflows/CI_NonlinearSolveQuasiNewton.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI (NonlinearSolveQuasiNewton) - -on: - pull_request: - paths: - - "lib/NonlinearSolveQuasiNewton/**" - - ".github/workflows/CI_NonlinearSolveQuasiNewton.yml" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveQuasiNewton" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveQuasiNewton" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolveSciPy.yml b/.github/workflows/CI_NonlinearSolveSciPy.yml deleted file mode 100644 index 938c5526f6..0000000000 --- a/.github/workflows/CI_NonlinearSolveSciPy.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: CI (NonlinearSolveSciPy) - -on: - pull_request: - paths: - - "lib/NonlinearSolveSciPy/**" - - ".github/workflows/CI_NonlinearSolveSciPy.yml" - - "lib/NonlinearSolveBase/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveSciPy" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveSciPy" - downgrade_testing: true diff --git a/.github/workflows/CI_NonlinearSolveSpectralMethods.yml b/.github/workflows/CI_NonlinearSolveSpectralMethods.yml deleted file mode 100644 index a09cf821f9..0000000000 --- a/.github/workflows/CI_NonlinearSolveSpectralMethods.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI (NonlinearSolveSpectralMethods) - -on: - pull_request: - paths: - - "lib/NonlinearSolveSpectralMethods/**" - - ".github/workflows/CI_NonlinearSolveSpectralMethods.yml" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/NonlinearSolveSpectralMethods" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/NonlinearSolveSpectralMethods" - downgrade_testing: true diff --git a/.github/workflows/CI_SCCNonlinearSolve.yml b/.github/workflows/CI_SCCNonlinearSolve.yml deleted file mode 100644 index 655e621436..0000000000 --- a/.github/workflows/CI_SCCNonlinearSolve.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: CI (SCCNonlinearSolve) - -on: - pull_request: - paths: - - "lib/SCCNonlinearSolve/**" - - ".github/workflows/CI_SCCNonlinearSolve.yml" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "lts" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/SCCNonlinearSolve" - local_dependencies: "lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/SCCNonlinearSolve" - downgrade_testing: true diff --git a/.github/workflows/CI_SciMLJacobianOperators.yml b/.github/workflows/CI_SciMLJacobianOperators.yml deleted file mode 100644 index 6aef44582d..0000000000 --- a/.github/workflows/CI_SciMLJacobianOperators.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: CI (SciMLJacobianOperators) - -on: - pull_request: - paths: - - "lib/SciMLJacobianOperators/**" - - ".github/workflows/CI_SciMLJacobianOperators.yml" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/SciMLJacobianOperators" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/SciMLJacobianOperators" - downgrade_testing: true diff --git a/.github/workflows/CI_SimpleNonlinearSolve.yml b/.github/workflows/CI_SimpleNonlinearSolve.yml deleted file mode 100644 index c981f5bfbf..0000000000 --- a/.github/workflows/CI_SimpleNonlinearSolve.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: CI (SimpleNonlinearSolve) - -on: - pull_request: - paths: - - "lib/SimpleNonlinearSolve/**" - - ".github/workflows/CI_SimpleNonlinearSolve.yml" - - "lib/BracketingNonlinearSolve/**" - - "lib/NonlinearSolveBase/**" - - "lib/SciMLJacobianOperators/**" - push: - branches: - - master - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - -jobs: - test: - strategy: - fail-fast: false - matrix: - version: - - "1.10" - - "1.11" - - "1" - os: - - ubuntu-latest - - macos-latest - group: - - core - - adjoint - - alloc_check - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: ${{ matrix.version }} - os: ${{ matrix.os }} - project: "lib/SimpleNonlinearSolve" - local_dependencies: "lib/BracketingNonlinearSolve,lib/NonlinearSolveBase,lib/SciMLJacobianOperators" - test_args: "GROUP=${{ matrix.group }}" - - # NOTE: Downgrade tests are temporarily skipped due to Resolver.jl incompatibility - # with [sources] in Project.toml. See issue #774 for tracking. - downgrade: - if: false - strategy: - fail-fast: false - matrix: - group: - - core - - adjoint - - alloc_check - uses: LuxDL/Lux.jl/.github/workflows/CommonCI.yml@main - with: - julia_version: "1.11" - project: "lib/SimpleNonlinearSolve" - downgrade_testing: true - test_args: "GROUP=${{ matrix.group }}" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index f60360917b..0a9bf7d221 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -8,23 +8,12 @@ on: tags: ["*"] pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} + jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: "1" - - uses: julia-actions/cache@v3 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-docdeploy@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v6 - with: - files: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false + build-and-deploy-docs: + name: "Documentation" + uses: "SciML/.github/.github/workflows/documentation.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/Downstream.yml b/.github/workflows/Downstream.yml index 5484f6b5df..6ab3e461e8 100644 --- a/.github/workflows/Downstream.yml +++ b/.github/workflows/Downstream.yml @@ -1,25 +1,23 @@ name: IntegrationTest + on: push: branches: [master] tags: [v*] pull_request: + concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + jobs: test: - name: ${{ matrix.package.repo }}/${{ matrix.package.group }}/${{ matrix.julia-version }} - runs-on: ${{ matrix.os }} - env: - GROUP: ${{ matrix.package.group }} + name: ${{ matrix.package.repo }}/${{ matrix.package.group }} strategy: fail-fast: false matrix: - julia-version: [1] - os: [ubuntu-latest] package: - {user: SciML, repo: ModelingToolkit.jl, group: InterfaceI} - {user: SciML, repo: ModelingToolkit.jl, group: InterfaceII} @@ -28,51 +26,10 @@ jobs: - {user: SciML, repo: OrdinaryDiffEq.jl, group: Regression} - {user: SciML, repo: BoundaryValueDiffEq.jl, group: All} - {user: SciML, repo: DiffEqCallbacks.jl, group: Core} - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: ${{ matrix.julia-version }} - arch: x64 - - name: "Install Dependencies" - run: | - import Pkg - Pkg.Registry.update() - # Install packages present in subdirectories - dev_pks = Pkg.PackageSpec[] - for path in ("lib/SciMLJacobianOperators", "lib/BracketingNonlinearSolve", "lib/NonlinearSolveBase", "lib/SimpleNonlinearSolve", "lib/NonlinearSolveFirstOrder", "lib/NonlinearSolveSpectralMethods", "lib/NonlinearSolveQuasiNewton") - push!(dev_pks, Pkg.PackageSpec(; path)) - end - Pkg.develop(dev_pks) - Pkg.instantiate() - shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0} - - name: Clone Downstream - uses: actions/checkout@v6 - with: - repository: ${{ matrix.package.user }}/${{ matrix.package.repo }} - path: downstream - - name: Load this and run the downstream tests - shell: julia --color=yes --project=downstream {0} - run: | - using Pkg - try - # force it to use this PR's version of the package - Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps - Pkg.update() - Pkg.test(coverage="user") # resolver may fail with test time deps - catch err - err isa Pkg.Resolve.ResolverError || rethrow() - # If we can't resolve that means this is incompatible by SemVer and this is fine - # It means we marked this as a breaking change, so we don't need to worry about - # Mistakenly introducing a breaking change, as we have intentionally made one - @info "Not compatible with this release. No problem." exception=err - exit(0) # Exit immediately, as a success - end - - uses: julia-actions/julia-processcoverage@v1 - with: - directories: src,ext - - uses: codecov/codecov-action@v6 - with: - file: lcov.info - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false + uses: "SciML/.github/.github/workflows/downstream.yml@v1" + with: + owner: "${{ matrix.package.user }}" + repo: "${{ matrix.package.repo }}" + group: "${{ matrix.package.group }}" + julia-version: "1" + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index ee667ceff5..32f2e1fbf6 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -11,12 +11,6 @@ on: jobs: runic: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: '1' - - uses: fredrikekre/runic-action@v1 - with: - version: '1' + name: "Runic" + uses: "SciML/.github/.github/workflows/runic.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index a7db4647af..a134515e21 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -4,10 +4,6 @@ on: [pull_request] jobs: typos-check: - name: Spell Check with Typos - runs-on: ubuntu-latest - steps: - - name: Checkout Actions Repository - uses: actions/checkout@v6 - - name: Check spelling - uses: crate-ci/typos@v1.43.3 \ No newline at end of file + name: "Spell Check with Typos" + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/SublibraryCI.yml b/.github/workflows/SublibraryCI.yml new file mode 100644 index 0000000000..168137f615 --- /dev/null +++ b/.github/workflows/SublibraryCI.yml @@ -0,0 +1,25 @@ +name: Sublibrary CI + +on: + pull_request: + branches: + - master + paths-ignore: + - 'docs/**' + push: + branches: + - master + paths-ignore: + - 'docs/**' + +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + +jobs: + sublibrary-ci: + name: "Sublibrary CI" + uses: "SciML/.github/.github/workflows/sublibrary-tests.yml@v1" + secrets: "inherit"