mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 11:06:54 +08:00
* Bump codecov/codecov-action from 3.1.4 to 4.5.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](eaaf4bedf3...e28ff129e5)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use CODECOV_TOKEN
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
80 lines
2.2 KiB
YAML
80 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b
|
|
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b
|
|
with:
|
|
path: ./.github/actions/julia-runtest
|
|
|
|
- uses: julia-actions/setup-julia@f2258781c657ad9b4b88072c5eeaf9ec8c370874
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
|
|
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@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
|
|
with:
|
|
file: lcov.info
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
fail-ci-if-error: true
|
|
|
|
|
|
- name: Verify that test output file exists
|
|
run: test -f "$HOME/julia-runtest"
|
|
shell: bash
|