@@ -16,8 +16,8 @@ concurrency:
1616 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1717
1818jobs :
19- test-DI :
20- name : ${{ matrix.version }} - DI (${{ matrix.group }})
19+ test-DI-Core :
20+ name : ${{ matrix.version }} - DI Core (${{ matrix.group }})
2121 runs-on : ubuntu-latest
2222 if : ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
2323 timeout-minutes : 120
3232 - ' 1.11'
3333 - ' 1.12'
3434 group :
35- - Core/Internals
36- - Back/DifferentiateWith
37- - Core/SimpleFiniteDiff
38- - Back/SparsityDetector
39- - Core/ZeroBackends
40- - Back/ChainRules
41- # - Back/Diffractor
42- - Back/Enzyme
43- - Back/FastDifferentiation
44- - Back/FiniteDiff
45- - Back/FiniteDifferences
46- - Back/ForwardDiff
47- - Back/GTPSA
48- - Back/Mooncake
49- - Back/PolyesterForwardDiff
50- - Back/ReverseDiff
51- - Back/Symbolics
52- - Back/Tracker
53- - Back/Zygote
35+ - Internals
36+ - SimpleFiniteDiff
37+ - ZeroBackends
5438 skip_lts :
5539 - ${{ github.event.pull_request.draft }}
5640 skip_pre :
6044 version : ' 1.10'
6145 - skip_pre : true
6246 version : ' 1.12'
63- - version : ' 1.11'
64- group : Back/ChainRules
65- - version : ' 1.12'
66- group : Back/Enzyme
67- - version : ' 1.12'
68- group : Back/DifferentiateWith
6947 env :
48+ JULIA_DI_TEST_TYPE : ' Core'
7049 JULIA_DI_TEST_GROUP : ${{ matrix.group }}
7150 JULIA_DI_PR_DRAFT : ${{ github.event.pull_request.draft }}
7251 steps :
@@ -104,6 +83,83 @@ jobs:
10483 token : ${{ secrets.CODECOV_TOKEN }}
10584 fail_ci_if_error : false
10685
86+ test-DI-Backend :
87+ name : ${{ matrix.version }} - DI Back (${{ matrix.group }})
88+ runs-on : ubuntu-latest
89+ if : ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
90+ timeout-minutes : 120
91+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
92+ actions : write
93+ contents : read
94+ strategy :
95+ fail-fast : false # TODO: toggle
96+ matrix :
97+ version :
98+ - ' 1.10'
99+ - ' 1.11'
100+ - ' 1.12'
101+ group :
102+ - ChainRules
103+ - DifferentiateWith
104+ # - Diffractor
105+ - Enzyme
106+ - FastDifferentiation
107+ - FiniteDiff
108+ - FiniteDifferences
109+ - ForwardDiff
110+ - GTPSA
111+ - Mooncake
112+ - PolyesterForwardDiff
113+ - ReverseDiff
114+ - SparsityDetector
115+ - Symbolics
116+ - Tracker
117+ - Zygote
118+ skip_lts :
119+ - ${{ github.event.pull_request.draft }}
120+ skip_pre :
121+ - ${{ github.event.pull_request.draft }}
122+ exclude :
123+ - skip_lts : true
124+ version : ' 1.10'
125+ - skip_pre : true
126+ version : ' 1.12'
127+ - version : ' 1.11'
128+ group : ChainRules
129+ - version : ' 1.12'
130+ group : Enzyme
131+ - version : ' 1.12'
132+ group : DifferentiateWith
133+ env :
134+ JULIA_DI_TEST_TYPE : ' Back'
135+ JULIA_DI_TEST_GROUP : ${{ matrix.group }}
136+ JULIA_DI_PR_DRAFT : ${{ github.event.pull_request.draft }}
137+ steps :
138+ - uses : actions/checkout@v5
139+ - uses : julia-actions/setup-julia@v2
140+ with :
141+ version : ${{ matrix.version }}
142+ arch : x64
143+ - uses : julia-actions/cache@v2
144+ - name : Install dependencies & run tests
145+ run : julia --code-coverage=user --color=yes -e '
146+ using Pkg;
147+ Pkg.Registry.update();
148+ group = ENV["JULIA_DI_TEST_GROUP"]
149+ Pkg.activate("./DifferentiationInterface/test/Back/$group");
150+ Pkg.develop(; path="./DifferentiationInterface");
151+ Pkg.develop(; path="./DifferentiationInterfaceTest");
152+ include("./DifferentiationInterface/test/Back/run_backend.jl");'
153+ - uses : julia-actions/julia-processcoverage@v1
154+ with :
155+ directories : ./DifferentiationInterface/src,./DifferentiationInterface/ext,./DifferentiationInterface/test
156+ - uses : codecov/codecov-action@v5
157+ with :
158+ files : lcov.info
159+ flags : DI
160+ token : ${{ secrets.CODECOV_TOKEN }}
161+ fail_ci_if_error : false
162+
107163 test-DIT :
108164 name : ${{ matrix.version }} - DIT (${{ matrix.group }})
109165 runs-on : ubuntu-latest
0 commit comments