Bump version from v0.4.0 to v0.4.1 CI actions #6
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: | |
| paths-ignore: | |
| - 'LICENSE.md' | |
| - 'README.md' | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| tags: '*' | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| if: "!contains(github.event.head_commit.message, 'skip ci')" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| julia-version: ['1.7', 'nightly'] | |
| julia-arch: [x64] | |
| os: [ubuntu-latest] #, macOS-latest, windows-latest] | |
| # # 32-bit Julia binaries are not available on macOS | |
| # exclude: | |
| # - os: macOS-latest | |
| # julia-arch: x86 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: "Set up Julia" | |
| uses: julia-actions/setup-julia@v1 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| arch: ${{ matrix.julia-arch }} | |
| - uses: actions/cache@v3 | |
| 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- | |
| ${{ runner.os }}- | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| continue-on-error: ${{ matrix.julia-version == 'nightly' }} | |
| - uses: julia-actions/julia-runtest@v1 | |
| continue-on-error: ${{ matrix.julia-version == 'nightly' }} | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v1 | |
| with: | |
| file: lcov.info | |
| - uses: coverallsapp/github-action@master | |
| with: | |
| path-to-lcov: lcov.info | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |