Skip to content

Commit e83b35d

Browse files
authored
Update CI: Remove tests with AbstractDifferentiation and use julia-actions/cache (#42)
1 parent 0479a8a commit e83b35d

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} # optional
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'
16+
run: julia -e 'using CompatHelper; CompatHelper.main(; dirs = ["", "docs"])'

.github/workflows/IntegrationTest.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
package:
25-
- {user: JuliaDiff, repo: AbstractDifferentiation.jl, group: All}
2625
- {user: JuliaDiff, repo: ForwardDiff.jl, group: All}
2726
- {user: JuliaDiff, repo: ReverseDiff.jl, group: All}
2827
- {user: tpapp, repo: LogDensityProblemsAD.jl, group: All}
@@ -31,7 +30,6 @@ jobs:
3130
- uses: julia-actions/setup-julia@v2
3231
with:
3332
version: 1
34-
arch: x64
3533
- uses: julia-actions/julia-buildpkg@v1
3634
- name: Clone Downstream
3735
uses: actions/checkout@v4

.github/workflows/ci.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
tags: '*'
1010
jobs:
1111
test:
12-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
12+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
1313
runs-on: ${{ matrix.os }}
1414
continue-on-error: ${{ matrix.version == 'pre' }}
1515
strategy:
@@ -22,24 +22,12 @@ jobs:
2222
- 'pre'
2323
os:
2424
- ubuntu-latest
25-
arch:
26-
- x64
2725
steps:
2826
- uses: actions/checkout@v4
2927
- uses: julia-actions/setup-julia@v2
3028
with:
3129
version: ${{ matrix.version }}
32-
arch: ${{ matrix.arch }}
33-
- uses: actions/cache@v4
34-
env:
35-
cache-name: cache-artifacts
36-
with:
37-
path: ~/.julia/artifacts
38-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39-
restore-keys: |
40-
${{ runner.os }}-test-${{ env.cache-name }}-
41-
${{ runner.os }}-test-
42-
${{ runner.os }}-
30+
- uses: julia-actions/cache@v2
4331
- uses: julia-actions/julia-buildpkg@v1
4432
- uses: julia-actions/julia-runtest@v1
4533
- uses: julia-actions/julia-processcoverage@v1
@@ -56,11 +44,8 @@ jobs:
5644
- uses: julia-actions/setup-julia@v2
5745
with:
5846
version: '1'
59-
- run: |
60-
julia --project=docs -e '
61-
using Pkg
62-
Pkg.develop(PackageSpec(path=pwd()))
63-
Pkg.instantiate()'
47+
- uses: julia-actions/cache@v2
48+
- run: julia --project=docs -e 'import Pkg; Pkg.instantiate()'
6449
- run: |
6550
julia --project=docs -e '
6651
using Documenter: doctest

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
44

55
[compat]
66
Documenter = "0.25"
7+
8+
[sources.DiffResults]
9+
path = ".."

0 commit comments

Comments
 (0)