feat: implement max-patch and min-patch modes #259
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| tags: '*' | |
| jobs: | |
| test: | |
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1' # automatically expands to the latest stable 1.x release of Julia. | |
| - 'nightly' | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| arch: | |
| - x64 | |
| - x86 | |
| # macos-14 and newer (Apple M series) only support aarch64 architecture. | |
| # These entries introduce new os/arch combinations, so they must also | |
| # specify `version`: matrix `include` entries do not inherit it, and a | |
| # null version makes julia-actions/setup-julia fail immediately. | |
| include: | |
| - os: macos-latest | |
| arch: aarch64 | |
| version: '1' | |
| - os: macos-15-intel | |
| arch: x64 | |
| version: '1' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - uses: actions/cache@v6 | |
| env: | |
| cache-name: cache-artifacts | |
| with: | |
| path: ~/.julia/artifacts | |
| key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-test-${{ env.cache-name }}- | |
| ${{ runner.os }}-test-${{ matrix.os }} | |
| ${{ runner.os }}- | |
| - run: julia --color=yes .ci/test_and_change_uuid.jl | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| files: lcov.info |