feat: FMU event support in the FMI import #3163
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: ReleaseTest | |
| 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.package }}/${{ matrix.package.group }}/${{ matrix.julia-version }} | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| GROUP: ${{ matrix.package.group }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| julia-version: [1] | |
| os: [ubuntu-latest] | |
| package: | |
| - {package: Catalyst, group: Modeling} | |
| - {package: Catalyst, group: Simulation} | |
| - {package: Catalyst, group: Hybrid} | |
| - {package: Catalyst, group: Misc} | |
| - {package: Catalyst, group: Spatial} | |
| 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: Create test directory | |
| run: mkdir downstream | |
| - name: Load this and run the downstream tests | |
| shell: julia --color=yes --project=downstream {0} | |
| run: | | |
| using Pkg | |
| Pkg.activate("downstream") | |
| Pkg.develop(PackageSpec(path=".")) | |
| Pkg.add("${{ matrix.package.package }}") | |
| Pkg.update() | |
| Pkg.test("${{ matrix.package.package }}"; coverage=true) | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| files: lcov.info | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false |