mirror of
https://github.com/julia-actions/julia-buildpkg.git
synced 2026-02-12 01:16:54 +08:00
* Bump codecov/codecov-action from 3 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v5) --- 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> * Apply suggestions from code review Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dilum Aluthge <dilum@aluthge.com> Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
78 lines
1.7 KiB
YAML
78 lines
1.7 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "master"
|
|
paths-ignore:
|
|
- "README.md"
|
|
- "LICENSE"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "README.md"
|
|
- "LICENSE"
|
|
|
|
jobs:
|
|
test:
|
|
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
|
|
pkg-server:
|
|
- ""
|
|
- "pkg.julialang.org"
|
|
# 32-bit Julia binaries are not available on macOS
|
|
exclude:
|
|
- os: macOS-latest
|
|
arch: x86
|
|
|
|
steps:
|
|
- name: Checkout Example.jl
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: julia-actions/Example.jl
|
|
|
|
- name: Verify that test output file does not exist yet
|
|
run: test ! -f "$HOME/julia-buildpkg"
|
|
shell: bash
|
|
|
|
- name: Checkout julia-buildpkg
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: ./.github/actions/julia-buildpkg
|
|
|
|
- uses: julia-actions/setup-julia@v2
|
|
with:
|
|
version: ${{ matrix.version }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
- uses: ./.github/actions/julia-buildpkg
|
|
with:
|
|
ignore-no-cache: true
|
|
env:
|
|
JULIA_PKG_SERVER: ${{ matrix.pkg-server }}
|
|
|
|
- uses: julia-actions/julia-runtest@v1
|
|
|
|
- uses: julia-actions/julia-processcoverage@v1
|
|
|
|
- uses: codecov/codecov-action@v5
|
|
with:
|
|
files: lcov.info
|
|
|
|
- name: Verify that test output file exists
|
|
run: test -f "$HOME/julia-buildpkg"
|
|
shell: bash
|