Skip to content

Commit 3f32588

Browse files
author
KristofferC
committed
less tests
1 parent ece3b2c commit 3f32588

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: 120
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@v2
54-
with:
55-
version: ${{ matrix.version }}
56-
arch: x64
57-
- uses: julia-actions/cache@v2
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@v5
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: 120
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@v2
54+
# with:
55+
# version: ${{ matrix.version }}
56+
# arch: x64
57+
# - uses: julia-actions/cache@v2
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@v5
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 }})
@@ -158,61 +158,61 @@ jobs:
158158
token: ${{ secrets.CODECOV_TOKEN }}
159159
fail_ci_if_error: false
160160

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

0 commit comments

Comments
 (0)