Ignore extras-only Aqua stale_deps in run_qa (#222) #62
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: | |
| concurrency: | |
| 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 }} | |
| DOWNSTREAM_SUBDIR: ${{ matrix.package.subdir }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| julia-version: ['1.10'] | |
| os: [ubuntu-latest] | |
| package: | |
| - {user: SciML, repo: OrdinaryDiffEq.jl, subdir: lib/DiffEqDevTools, group: Core} | |
| - {user: SciML, repo: OrdinaryDiffEq.jl, group: Regression_I} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| arch: x64 | |
| - 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 {0} | |
| run: | | |
| using Pkg | |
| downstream_project = normpath(joinpath("downstream", ENV["DOWNSTREAM_SUBDIR"])) | |
| isfile(joinpath(downstream_project, "Project.toml")) || | |
| error("No downstream Project.toml found at $(downstream_project)") | |
| Pkg.activate(downstream_project) | |
| Pkg.develop(map(path -> Pkg.PackageSpec(; path = joinpath(pwd(), "lib", path)), readdir("lib"))) | |
| Pkg.update() | |
| Pkg.test(coverage=true) | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: lcov.info | |
| fail_ci_if_error: false | |
| disable_safe_directory: true |