Skip to content

Merge pull request #39 from JuliaArrays/dependabot/github_actions/act… #45

Merge pull request #39 from JuliaArrays/dependabot/github_actions/act…

Merge pull request #39 from JuliaArrays/dependabot/github_actions/act… #45

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.0'
- '1'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
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
- name: Install ImageCore
shell: julia {0}
run: |
using Pkg
Pkg.develop(PackageSpec(; path=pwd()))
Pkg.add(PackageSpec(; name="FFTW")) # needed only on Julia 1.0
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@v1
with:
file: lcov.info