Skip to content

Commit 454f312

Browse files
authored
Restructure tests (#354)
1 parent f27415c commit 454f312

22 files changed

Lines changed: 67 additions & 75 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation
1+
name: Docs
22

33
on:
44
push:

.github/workflows/Test.yml

Lines changed: 53 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717
jobs:
1818

1919
test-DI:
20-
name: DI (${{ matrix.group }}) - ${{ matrix.version }}
20+
name: ${{ matrix.version }} - DI (${{ matrix.group }})
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 60
2323
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
@@ -28,58 +28,60 @@ jobs:
2828
matrix:
2929
version:
3030
- '1'
31-
- '1.6'
32-
# - '~1.11.0-0'
31+
- 'lts'
32+
- 'pre'
3333
group:
3434
- Formalities
3535
- Internals
36-
- Single/Diffractor
37-
- Single/Enzyme
38-
- Single/FastDifferentiation
39-
- Single/FiniteDiff
40-
- Single/FiniteDifferences
41-
- Single/ForwardDiff
42-
- Single/PolyesterForwardDiff
43-
- Single/ReverseDiff
44-
- Single/Symbolics
45-
- Single/Tapir
46-
- Single/Tracker
47-
- Single/Zygote
48-
- Double/ChainRulesCore-Zygote
49-
- Double/Enzyme-ForwardDiff
50-
- Double/ForwardDiff-Zygote
51-
- Double/ReverseDiff-Zygote
36+
- Back/Diffractor
37+
- Back/Enzyme
38+
- Back/FastDifferentiation
39+
- Back/FiniteDiff
40+
- Back/FiniteDifferences
41+
- Back/ForwardDiff
42+
- Back/PolyesterForwardDiff
43+
- Back/ReverseDiff
44+
- Back/Symbolics
45+
- Back/Tapir
46+
- Back/Tracker
47+
- Back/Zygote
48+
- Back/ChainRulesCore-Zygote
49+
- Back/Enzyme-ForwardDiff
50+
- Back/ForwardDiff-Zygote
51+
- Back/ReverseDiff-Zygote
5252
exclude:
53-
- version: '1.6'
53+
# lts
54+
- version: 'lts'
5455
group: Formalities
55-
- version: '~1.11.0-0'
56+
- version: 'lts'
57+
group: Back/Diffractor
58+
- version: 'lts'
59+
group: Back/Enzyme
60+
- version: 'lts'
61+
group: Back/FiniteDiff
62+
- version: 'lts'
63+
group: Back/FastDifferentiation
64+
- version: 'lts'
65+
group: Back/PolyesterForwardDiff
66+
- version: 'lts'
67+
group: Back/Symbolics
68+
- version: 'lts'
69+
group: Back/Tapir
70+
- version: 'lts'
71+
group: Back/Enzyme-ForwardDiff
72+
- version: 'lts'
73+
group: Back/ReverseDiff-Zygote
74+
# pre-release
75+
- version: 'pre'
5676
group: Formalities
57-
- version: '1.6'
58-
group: Single/Diffractor
59-
- version: '1.6'
60-
group: Single/Enzyme
61-
- version: '~1.11.0-0'
62-
group: Single/Enzyme
63-
- version: '1.6'
64-
group: Single/FiniteDiff
65-
- version: '1.6'
66-
group: Single/FastDifferentiation
67-
- version: '1.6'
68-
group: Single/PolyesterForwardDiff
69-
- version: '1.6'
70-
group: Single/Symbolics
71-
- version: '1.6'
72-
group: Single/Tapir
73-
- version: '~1.11.0-0'
74-
group: Single/Tapir
75-
- version: '~1.11.0-0'
76-
group: Double/ChainRulesCore-Zygote
77-
- version: '1.6'
78-
group: Double/Enzyme-ForwardDiff
79-
- version: '~1.11.0-0'
80-
group: Double/Enzyme-ForwardDiff
81-
- version: '1.6'
82-
group: Double/ReverseDiff-Zygote
77+
- version: 'pre'
78+
group: Back/Enzyme
79+
- version: 'pre'
80+
group: Back/Tapir
81+
- version: 'pre'
82+
group: Back/ChainRulesCore-Zygote
83+
- version: 'pre'
84+
group: Back/Enzyme-ForwardDiff
8385

8486
steps:
8587
- uses: actions/checkout@v4
@@ -106,7 +108,7 @@ jobs:
106108
fail_ci_if_error: true
107109

108110
test-DIT:
109-
name: DIT (${{ matrix.group }}) - ${{ matrix.version }}
111+
name: ${{ matrix.version }} - DIT (${{ matrix.group }})
110112
runs-on: ubuntu-latest
111113
timeout-minutes: 60
112114
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
@@ -117,15 +119,15 @@ jobs:
117119
matrix:
118120
version:
119121
- '1'
120-
- '1.6'
121-
# - '~1.11.0-0'
122+
- 'lts'
123+
- 'pre'
122124
group:
123125
- Formalities
124126
- Zero
125127
- ForwardDiff
126128
- Zygote
127129
exclude:
128-
- version: '1.6'
130+
- version: 'lts'
129131
group: Formalities
130132

131133
steps:

DifferentiationInterface/test/Double/ChainRulesCore-Zygote/test.jl renamed to DifferentiationInterface/test/Back/ChainRulesCore-Zygote/test.jl

File renamed without changes.

DifferentiationInterface/test/Single/Diffractor/test.jl renamed to DifferentiationInterface/test/Back/Diffractor/test.jl

File renamed without changes.

DifferentiationInterface/test/Double/Enzyme-ForwardDiff/detector.jl renamed to DifferentiationInterface/test/Back/Enzyme-ForwardDiff/detector.jl

File renamed without changes.

DifferentiationInterface/test/Double/Enzyme-ForwardDiff/test.jl renamed to DifferentiationInterface/test/Back/Enzyme-ForwardDiff/test.jl

File renamed without changes.
File renamed without changes.

DifferentiationInterface/test/Single/FastDifferentiation/test.jl renamed to DifferentiationInterface/test/Back/FastDifferentiation/test.jl

File renamed without changes.

DifferentiationInterface/test/Single/FiniteDiff/test.jl renamed to DifferentiationInterface/test/Back/FiniteDiff/test.jl

File renamed without changes.

DifferentiationInterface/test/Single/FiniteDifferences/test.jl renamed to DifferentiationInterface/test/Back/FiniteDifferences/test.jl

File renamed without changes.

0 commit comments

Comments
 (0)