set development version to v0.1.8-DEV #325
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: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'LICENSE.md' | |
| - 'README.md' | |
| - '.zenodo.json' | |
| - '.github/workflows/CompatHelper.yml' | |
| - '.github/workflows/TagBot.yml' | |
| - 'docs/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'LICENSE.md' | |
| - 'README.md' | |
| - '.zenodo.json' | |
| - '.github/workflows/CompatHelper.yml' | |
| - '.github/workflows/TagBot.yml' | |
| - 'docs/**' | |
| workflow_dispatch: | |
| # Cancel redundant CI tests automatically | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| if: "!contains(github.event.head_commit.message, 'skip ci')" | |
| # We could also include the Julia version as in | |
| # name: ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| # to be more specific. However, that requires us updating the required CI tests whenever we update Julia. | |
| name: ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1.10' | |
| os: | |
| - ubuntu-latest | |
| arch: | |
| - x64 | |
| include: | |
| - version: '1.10' | |
| os: macos-latest | |
| arch: aarch64 | |
| - version: '1.10' | |
| os: windows-latest | |
| arch: x64 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| env: | |
| PYTHON: "" | |
| - name: Run tests | |
| uses: julia-actions/julia-runtest@v1 | |
| with: | |
| coverage: false | |
| env: | |
| PYTHON: "" | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for authenticated downloads without strict rate limits | |
| test_coverage: | |
| if: "!contains(github.event.head_commit.message, 'skip ci')" | |
| name: coverage - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1.10' | |
| os: | |
| - ubuntu-latest | |
| arch: | |
| - x64 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - name: Run tests with coverage | |
| uses: julia-actions/julia-runtest@v1 | |
| with: | |
| coverage: true | |
| env: | |
| PYTHON: "" | |
| - name: Process coverage results | |
| uses: julia-actions/julia-processcoverage@v1 | |
| with: | |
| directories: src | |
| - name: Upload coverage report to Codecov | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: lcov.info | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # now required for public repos | |
| - name: Upload coverage report to Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| path-to-lcov: ./lcov.info |