Skip to content

Commit d0163d5

Browse files
KristofferCKristofferC
authored andcommitted
less tests
1 parent 01af3af commit d0163d5

1 file changed

Lines changed: 123 additions & 123 deletions

File tree

.github/workflows/Test.yml

Lines changed: 123 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -16,71 +16,71 @@ concurrency:
1616
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1717

1818
jobs:
19-
test-DI-Core:
20-
name: ${{ matrix.version }} - DI Core (${{ matrix.group }})
21-
runs-on: ubuntu-latest
22-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
23-
timeout-minutes: 180
24-
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
25-
actions: write
26-
contents: read
27-
strategy:
28-
fail-fast: false # TODO: toggle
29-
matrix:
30-
version:
31-
- '1.10'
32-
- '1.11'
33-
- '1.12'
34-
group:
35-
- Internals
36-
- SimpleFiniteDiff
37-
- ZeroBackends
38-
skip_lts:
39-
- ${{ github.event.pull_request.draft }}
40-
skip_pre:
41-
- ${{ github.event.pull_request.draft }}
42-
exclude:
43-
- skip_lts: true
44-
version: '1.10'
45-
- skip_pre: true
46-
version: '1.12'
47-
env:
48-
JULIA_DI_TEST_TYPE: 'Core'
49-
JULIA_DI_TEST_GROUP: ${{ matrix.group }}
50-
JULIA_DI_PR_DRAFT: ${{ github.event.pull_request.draft }}
51-
steps:
52-
- uses: actions/checkout@v6
53-
- uses: julia-actions/setup-julia@v3
54-
with:
55-
version: ${{ matrix.version }}
56-
arch: x64
57-
- uses: julia-actions/cache@v3
58-
- name: Install dependencies & run tests
59-
run: julia --color=yes -e '
60-
using Pkg;
61-
Pkg.activate("./DifferentiationInterface/test");
62-
if VERSION < v"1.11";
63-
Pkg.rm("DifferentiationInterfaceTest");
64-
Pkg.resolve();
65-
else;
66-
Pkg.develop(; path="./DifferentiationInterfaceTest");
67-
end;
68-
Pkg.activate("./DifferentiationInterface");
69-
test_kwargs = (; allow_reresolve=false, coverage=true);
70-
if ENV["JULIA_DI_PR_DRAFT"] == "true";
71-
Pkg.test("DifferentiationInterface"; julia_args=["-O1"], test_kwargs...);
72-
else;
73-
Pkg.test("DifferentiationInterface"; test_kwargs...);
74-
end;'
75-
- uses: julia-actions/julia-processcoverage@v1
76-
with:
77-
directories: ./DifferentiationInterface/src,./DifferentiationInterface/ext,./DifferentiationInterface/test
78-
- uses: codecov/codecov-action@v6
79-
with:
80-
files: lcov.info
81-
flags: DI
82-
token: ${{ secrets.CODECOV_TOKEN }}
83-
fail_ci_if_error: false
19+
# test-DI-Core:
20+
# name: ${{ matrix.version }} - DI Core (${{ matrix.group }})
21+
# runs-on: ubuntu-latest
22+
# if: ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
23+
# timeout-minutes: 180
24+
# permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
25+
# actions: write
26+
# contents: read
27+
# strategy:
28+
# fail-fast: false # TODO: toggle
29+
# matrix:
30+
# version:
31+
# - '1.10'
32+
# - '1.11'
33+
# - '1.12'
34+
# group:
35+
# - Internals
36+
# - SimpleFiniteDiff
37+
# - ZeroBackends
38+
# skip_lts:
39+
# - ${{ github.event.pull_request.draft }}
40+
# skip_pre:
41+
# - ${{ github.event.pull_request.draft }}
42+
# exclude:
43+
# - skip_lts: true
44+
# version: '1.10'
45+
# - skip_pre: true
46+
# version: '1.12'
47+
# env:
48+
# JULIA_DI_TEST_TYPE: 'Core'
49+
# JULIA_DI_TEST_GROUP: ${{ matrix.group }}
50+
# JULIA_DI_PR_DRAFT: ${{ github.event.pull_request.draft }}
51+
# steps:
52+
# - uses: actions/checkout@v6
53+
# - uses: julia-actions/setup-julia@v3
54+
# with:
55+
# version: ${{ matrix.version }}
56+
# arch: x64
57+
# - uses: julia-actions/cache@v3
58+
# - name: Install dependencies & run tests
59+
# run: julia --color=yes -e '
60+
# using Pkg;
61+
# Pkg.activate("./DifferentiationInterface/test");
62+
# if VERSION < v"1.11";
63+
# Pkg.rm("DifferentiationInterfaceTest");
64+
# Pkg.resolve();
65+
# else;
66+
# Pkg.develop(; path="./DifferentiationInterfaceTest");
67+
# end;
68+
# Pkg.activate("./DifferentiationInterface");
69+
# test_kwargs = (; allow_reresolve=false, coverage=true);
70+
# if ENV["JULIA_DI_PR_DRAFT"] == "true";
71+
# Pkg.test("DifferentiationInterface"; julia_args=["-O1"], test_kwargs...);
72+
# else;
73+
# Pkg.test("DifferentiationInterface"; test_kwargs...);
74+
# end;'
75+
# - uses: julia-actions/julia-processcoverage@v1
76+
# with:
77+
# directories: ./DifferentiationInterface/src,./DifferentiationInterface/ext,./DifferentiationInterface/test
78+
# - uses: codecov/codecov-action@v6
79+
# with:
80+
# files: lcov.info
81+
# flags: DI
82+
# token: ${{ secrets.CODECOV_TOKEN }}
83+
# fail_ci_if_error: false
8484

8585
test-DI-Backend:
8686
name: ${{ matrix.version }} - DI Back (${{ matrix.group }})
@@ -154,61 +154,61 @@ jobs:
154154
token: ${{ secrets.CODECOV_TOKEN }}
155155
fail_ci_if_error: false
156156

157-
test-DIT:
158-
name: ${{ matrix.version }} - DIT (${{ matrix.group }})
159-
runs-on: ubuntu-latest
160-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
161-
timeout-minutes: 60
162-
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
163-
actions: write
164-
contents: read
165-
strategy:
166-
fail-fast: false # TODO: toggle
167-
matrix:
168-
version:
169-
- '1.10'
170-
- '1.11'
171-
- '1.12'
172-
group:
173-
- Formalities
174-
- Zero
175-
- Standard
176-
- Weird
177-
skip_lts:
178-
- ${{ github.event.pull_request.draft }}
179-
skip_pre:
180-
- ${{ github.event.pull_request.draft }}
181-
exclude:
182-
- skip_lts: true
183-
version: '1.10'
184-
- skip_pre: true
185-
version: '1.12'
186-
env:
187-
JULIA_DIT_TEST_GROUP: ${{ matrix.group }}
188-
JULIA_DI_PR_DRAFT: ${{ github.event.pull_request.draft }}
189-
steps:
190-
- uses: actions/checkout@v6
191-
- uses: julia-actions/setup-julia@v3
192-
with:
193-
version: ${{ matrix.version }}
194-
arch: x64
195-
- uses: julia-actions/cache@v3
196-
- name: Install dependencies & run tests
197-
run: julia --project=./DifferentiationInterfaceTest --color=yes -e '
198-
using Pkg;
199-
Pkg.Registry.update();
200-
Pkg.develop(path="./DifferentiationInterface");
201-
if ENV["JULIA_DI_PR_DRAFT"] == "true";
202-
Pkg.test("DifferentiationInterfaceTest"; allow_reresolve=false, coverage=true, julia_args=["-O1"]);
203-
else;
204-
Pkg.test("DifferentiationInterfaceTest"; allow_reresolve=false, coverage=true);
205-
end;'
206-
- uses: julia-actions/julia-processcoverage@v1
207-
with:
208-
directories: ./DifferentiationInterfaceTest/src,./DifferentiationInterfaceTest/ext,./DifferentiationInterfaceTest/test
209-
- uses: codecov/codecov-action@v6
210-
with:
211-
files: lcov.info
212-
flags: DIT
213-
token: ${{ secrets.CODECOV_TOKEN }}
214-
fail_ci_if_error: false
157+
# test-DIT:
158+
# name: ${{ matrix.version }} - DIT (${{ matrix.group }})
159+
# runs-on: ubuntu-latest
160+
# if: ${{ !contains(github.event.pull_request.labels.*.name, 'skipci') }}
161+
# timeout-minutes: 60
162+
# permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
163+
# actions: write
164+
# contents: read
165+
# strategy:
166+
# fail-fast: false # TODO: toggle
167+
# matrix:
168+
# version:
169+
# - '1.10'
170+
# - '1.11'
171+
# - '1.12'
172+
# group:
173+
# - Formalities
174+
# - Zero
175+
# - Standard
176+
# - Weird
177+
# skip_lts:
178+
# - ${{ github.event.pull_request.draft }}
179+
# skip_pre:
180+
# - ${{ github.event.pull_request.draft }}
181+
# exclude:
182+
# - skip_lts: true
183+
# version: '1.10'
184+
# - skip_pre: true
185+
# version: '1.12'
186+
# env:
187+
# JULIA_DIT_TEST_GROUP: ${{ matrix.group }}
188+
# JULIA_DI_PR_DRAFT: ${{ github.event.pull_request.draft }}
189+
# steps:
190+
# - uses: actions/checkout@v6
191+
# - uses: julia-actions/setup-julia@v3
192+
# with:
193+
# version: ${{ matrix.version }}
194+
# arch: x64
195+
# - uses: julia-actions/cache@v3
196+
# - name: Install dependencies & run tests
197+
# run: julia --project=./DifferentiationInterfaceTest --color=yes -e '
198+
# using Pkg;
199+
# Pkg.Registry.update();
200+
# Pkg.develop(path="./DifferentiationInterface");
201+
# if ENV["JULIA_DI_PR_DRAFT"] == "true";
202+
# Pkg.test("DifferentiationInterfaceTest"; allow_reresolve=false, coverage=true, julia_args=["-O1"]);
203+
# else;
204+
# Pkg.test("DifferentiationInterfaceTest"; allow_reresolve=false, coverage=true);
205+
# end;'
206+
# - uses: julia-actions/julia-processcoverage@v1
207+
# with:
208+
# directories: ./DifferentiationInterfaceTest/src,./DifferentiationInterfaceTest/ext,./DifferentiationInterfaceTest/test
209+
# - uses: codecov/codecov-action@v6
210+
# with:
211+
# files: lcov.info
212+
# flags: DIT
213+
# token: ${{ secrets.CODECOV_TOKEN }}
214+
# fail_ci_if_error: false

0 commit comments

Comments
 (0)