Set version of coveralls action to v2 #241
Workflow file for this run
This file contains 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 | |
tags: '*' | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
statuses: write | |
jobs: | |
test: | |
name: Test on Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
julia-version: ['1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', 'nightly'] | |
julia-arch: [x64, x86] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
exclude: | |
- os: macOS-latest | |
julia-version: '1.4' | |
- os: macOS-latest | |
julia-arch: x86 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/[email protected] | |
- uses: codecov/[email protected] | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- uses: coverallsapp/github-action@v2 | |
with: | |
file: lcov.info | |
flag-name: run-${{ matrix.os }}-${{ matrix.julia-version }}-${{ matrix.julia-arch }} | |
parallel: true | |
finish: | |
needs: test | |
if: always() | |
runs-on: ubuntu-latest | |
steps: | |
- name: Coveralls Finished | |
uses: coverallsapp/github-action@v2 | |
with: | |
parallel-finished: true |