mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 11:06:54 +08:00
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/julia-actions/setup-julia/releases)
- [Commits](58ad1cdde7...a1561e938c)
---
updated-dependencies:
- dependency-name: julia-actions/setup-julia
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
77 lines
2.2 KiB
YAML
77 lines
2.2 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "master"
|
|
pull_request:
|
|
|
|
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" # automatically expands to the latest stable 1.x release of Julia
|
|
- nightly
|
|
os:
|
|
- ubuntu-latest
|
|
- macOS-latest
|
|
- windows-latest
|
|
arch:
|
|
- x64
|
|
- x86
|
|
# 32-bit Julia binaries are not available on macOS
|
|
exclude:
|
|
- os: macOS-latest
|
|
arch: x86
|
|
|
|
steps:
|
|
- name: Checkout Example.jl
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
with:
|
|
repository: julia-actions/Example.jl
|
|
|
|
- name: Verify that test output file does not exist yet
|
|
run: test ! -f "$HOME/julia-runtest"
|
|
shell: bash
|
|
|
|
- name: Checkout julia-runtest
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
with:
|
|
path: ./.github/actions/julia-runtest
|
|
|
|
- uses: julia-actions/setup-julia@a1561e938c17e7aaf8236334d6d533e774c71dcd
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
|
|
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@90dd6f23eb49626e4e6612cb9d64d456f86e6a1c
|
|
|
|
- uses: ./.github/actions/julia-runtest
|
|
|
|
- uses: julia-actions/julia-processcoverage@03114f09f119417c3242a9fb6e0b722676aedf38
|
|
|
|
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
|
|
with:
|
|
file: lcov.info
|
|
|
|
- name: Verify that test output file exists
|
|
run: test -f "$HOME/julia-runtest"
|
|
shell: bash
|