Skip to content

Commit cfa45f9

Browse files
committed
update CI.yml
1 parent f1e9201 commit cfa45f9

3 files changed

Lines changed: 561 additions & 460 deletions

File tree

.github/workflows/CI.yml

Lines changed: 24 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
11
name: CI
2-
32
on:
4-
push:
5-
branches: "main"
6-
tags: ["*"]
73
pull_request:
8-
release:
9-
4+
branches:
5+
- main
6+
push:
7+
branches:
8+
- main
9+
tags: '*'
1010
jobs:
1111
test:
12-
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
12+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
julia-version:
18-
- "1.8"
19-
- "nightly"
20-
julia-arch:
21-
- x86
22-
include:
23-
- os: ubuntu-latest
24-
prefix: xvfb-run
25-
17+
version:
18+
- '1.11' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
19+
os:
20+
- ubuntu-latest
21+
arch:
22+
- x64
2623
steps:
27-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v5
2825
- uses: julia-actions/setup-julia@v1
2926
with:
30-
version: ${{ matrix.julia-version }}
31-
arch: ${{ matrix.julia-arch }}
32-
- name: Cache artifacts
33-
uses: actions/cache@v2
27+
version: ${{ matrix.version }}
28+
arch: ${{ matrix.arch }}
29+
- uses: actions/cache@v4
3430
env:
3531
cache-name: cache-artifacts
3632
with:
@@ -40,28 +36,12 @@ jobs:
4036
${{ runner.os }}-test-${{ env.cache-name }}-
4137
${{ runner.os }}-test-
4238
${{ runner.os }}-
43-
- uses: julia-actions/julia-buildpkg@latest
39+
- uses: julia-actions/julia-buildpkg@v1
4440
- uses: julia-actions/julia-runtest@v1
41+
- uses: julia-actions/julia-processcoverage@v1
42+
- uses: codecov/codecov-action@v5
4543
with:
46-
prefix: ${{ matrix.prefix }}
47-
- uses: julia-actions/julia-uploadcodecov@v0.1
48-
continue-on-error: true
49-
- uses: julia-actions/julia-uploadcoveralls@v0.1
50-
continue-on-error: true
51-
docs:
52-
name: Documentation
53-
runs-on: ubuntu-latest
54-
steps:
55-
- uses: actions/checkout@v3
56-
- uses: julia-actions/setup-julia@v1
57-
with:
58-
version: '1.8'
59-
- run: |
60-
julia --project=docs -e '
61-
using Pkg
62-
Pkg.develop(PackageSpec(path=pwd()))
63-
Pkg.instantiate()'
64-
- run: julia --project=docs docs/make.jl
65-
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
44+
token: ${{ secrets.CODECOV_TOKEN }} # required
45+
fail_ci_if_error: true
46+
files: lcov.info
47+
file: lcov.info

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/Manifest.toml
1+
*Manifest.toml
22
/sandbox copy
33
/build

0 commit comments

Comments
 (0)