Skip to content

Commit 5cb4fd5

Browse files
Update ci.yml
1 parent 7d68a44 commit 5cb4fd5

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,26 @@ on:
77
branches:
88
- master
99
tags: '*'
10+
workflow_dispatch:
1011
jobs:
1112
test:
1213
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1314
runs-on: ${{ matrix.os }}
15+
continue-on-error: ${{ matrix.version == 'nightly' }}
1416
strategy:
1517
fail-fast: false
1618
matrix:
1719
version:
18-
- '1.6' # 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-
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
20+
- '1.6'
21+
- '1'
22+
# - 'nightly'
2023
os:
2124
- ubuntu-latest
2225
arch:
2326
- x64
2427
steps:
2528
- uses: actions/checkout@v4
26-
- uses: julia-actions/setup-julia@v1
29+
- uses: julia-actions/setup-julia@v2
2730
with:
2831
version: ${{ matrix.version }}
2932
arch: ${{ matrix.arch }}
@@ -40,7 +43,28 @@ jobs:
4043
- uses: julia-actions/julia-buildpkg@v1
4144
- uses: julia-actions/julia-runtest@v1
4245
- uses: julia-actions/julia-processcoverage@v1
43-
- uses: codecov/codecov-action@v3
46+
- uses: codecov/codecov-action@v5
4447
with:
45-
file: lcov.info
46-
48+
files: lcov.info
49+
# docs:
50+
# name: Documentation
51+
# runs-on: ubuntu-latest
52+
# steps:
53+
# - uses: actions/checkout@v4
54+
# - uses: julia-actions/setup-julia@v2
55+
# with:
56+
# version: '1'
57+
# - run: |
58+
# julia --project=docs -e '
59+
# using Pkg
60+
# Pkg.develop(PackageSpec(path=pwd()))
61+
# Pkg.instantiate()'
62+
# - run: |
63+
# julia --project=docs -e '
64+
# using Documenter: doctest
65+
# using ForwardDiff
66+
# doctest(ForwardDiff)'
67+
# - run: julia --project=docs docs/make.jl
68+
# env:
69+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)