|
7 | 7 | branches: |
8 | 8 | - master |
9 | 9 | tags: '*' |
| 10 | + workflow_dispatch: |
10 | 11 | jobs: |
11 | 12 | test: |
12 | 13 | name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} |
13 | 14 | runs-on: ${{ matrix.os }} |
| 15 | + continue-on-error: ${{ matrix.version == 'nightly' }} |
14 | 16 | strategy: |
15 | 17 | fail-fast: false |
16 | 18 | matrix: |
17 | 19 | version: |
18 | | - - '1.9' # 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.9' |
| 21 | + - '1' |
| 22 | + # - 'nightly' |
20 | 23 | os: |
21 | 24 | - ubuntu-latest |
22 | 25 | arch: |
23 | 26 | - x64 |
24 | 27 | steps: |
25 | | - - uses: actions/checkout@v2 |
26 | | - - uses: julia-actions/setup-julia@v1 |
| 28 | + - uses: actions/checkout@v4 |
| 29 | + - uses: julia-actions/setup-julia@v2 |
27 | 30 | with: |
28 | 31 | version: ${{ matrix.version }} |
29 | 32 | arch: ${{ matrix.arch }} |
30 | | - - uses: actions/cache@v1 |
| 33 | + - uses: actions/cache@v4 |
31 | 34 | env: |
32 | 35 | cache-name: cache-artifacts |
33 | 36 | with: |
|
40 | 43 | - uses: julia-actions/julia-buildpkg@v1 |
41 | 44 | - uses: julia-actions/julia-runtest@v1 |
42 | 45 | - uses: julia-actions/julia-processcoverage@v1 |
43 | | - - uses: codecov/codecov-action@v1 |
| 46 | + - uses: codecov/codecov-action@v5 |
44 | 47 | 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