Skip to content

Bump codecov/codecov-action from 1 to 4 #49

Bump codecov/codecov-action from 1 to 4

Bump codecov/codecov-action from 1 to 4 #49

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
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'
os:
- ubuntu-latest
- macOS-13
- windows-latest
arch:
- x64
include:
- os: macOS-latest
arch: aarch64
version: 1
- os: ubuntu-latest
arch: aarch64
version: 'min'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- name: Install ImageCore
shell: julia {0}
run: |
using Pkg
Pkg.develop(PackageSpec(; path=pwd()))
Pkg.add(PackageSpec(; name="ImageCore"))
- uses: julia-actions/julia-runtest@v1
- name: Test ImageCore
shell: julia {0}
run: |
using Pkg
Pkg.test("ImageCore")
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}