Fix FMI version detection and tuple status handling in @statuscheck
#10032
Workflow file for this run
This file contains hidden or 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
| name: IntegrationTest | |
| on: | |
| push: | |
| branches: [master] | |
| tags: [v*] | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'benchmark/**' | |
| concurrency: | |
| # Skip intermediate builds: always, but for the master branch and tags. | |
| # Cancel intermediate builds: always, but for the master branch and tags. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.ref_type != 'tag' }} | |
| jobs: | |
| test: | |
| name: ${{ matrix.package.repo }}/${{ matrix.package.group }}/${{ matrix.julia-version }}/${{ matrix.package.subpkg }} | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| GROUP: ${{ matrix.package.group }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| julia-version: [1] | |
| os: [ubuntu-latest] | |
| package: | |
| - {user: SciML, repo: SciMLBase.jl, group: Downstream, subpkg: ""} | |
| - {user: SciML, repo: SciMLBase.jl, group: SymbolicIndexingInterface, subpkg: ""} | |
| - {user: SciML, repo: Catalyst.jl, group: Modeling, subpkg: ""} | |
| - {user: SciML, repo: Catalyst.jl, group: Simulation, subpkg: ""} | |
| - {user: SciML, repo: Catalyst.jl, group: Hybrid, subpkg: ""} | |
| - {user: SciML, repo: Catalyst.jl, group: Misc, subpkg: ""} | |
| - {user: SciML, repo: Catalyst.jl, group: Spatial, subpkg: ""} | |
| - {user: SciML, repo: CellMLToolkit.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: SBMLToolkit.jl, group: All, subpkg: ""} | |
| - {user: SciML, repo: NeuralPDE.jl, group: NNPDE1, subpkg: ""} | |
| - {user: SciML, repo: NeuralPDE.jl, group: NNPDE2, subpkg: ""} | |
| - {user: SciML, repo: DataDrivenDiffEq.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: StructuralIdentifiability.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: ModelingToolkitStandardLibrary.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: ModelOrderReduction.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: MethodOfLines.jl, group: MOL_Interface1, subpkg: ""} | |
| - {user: SciML, repo: MethodOfLines.jl, group: MOL_Interface2, subpkg: ""} | |
| - {user: SciML, repo: MethodOfLines.jl, group: 2D_Diffusion, subpkg: ""} | |
| - {user: SciML, repo: MethodOfLines.jl, group: DAE, subpkg: ""} | |
| - {user: SciML, repo: ModelingToolkitNeuralNets.jl, group: Core, subpkg: ""} | |
| - {user: SciML, repo: SciMLSensitivity.jl, group: Core8, subpkg: ""} | |
| - {user: JuliaComputing, repo: StateSelection.jl, group: All, subpkg: ModelingToolkitTearing} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| arch: x64 | |
| - uses: julia-actions/julia-buildpkg@latest | |
| - name: Clone Downstream | |
| uses: actions/checkout@v7 | |
| 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 | |
| Pkg.develop(PackageSpec(path="./lib/ModelingToolkitBase")) | |
| Pkg.develop(PackageSpec(path=".")) | |
| subpkg = "${{ matrix.package.subpkg }}" | |
| if subpkg != "" | |
| Pkg.develop(PackageSpec(path=joinpath("./downstream/lib", subpkg))) | |
| end | |
| Pkg.update() | |
| if subpkg != "" | |
| Pkg.test(subpkg) | |
| else | |
| Pkg.test(coverage=true) | |
| end | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| files: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false |