Skip to content

Commit 8045515

Browse files
committed
test: move JET test to fresh process
1 parent e98527c commit 8045515

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
path-to-lcov: lcov.info
6262
flag-name: julia-${{ matrix.julia-version }}-${{ matrix.os }}-main-${{ github.event_name }}
6363

64-
integration_tests:
65-
name: Integration test - ${{ matrix.test_name }} - ${{ matrix.os }}
64+
additional_tests:
65+
name: test ${{ matrix.test_name }} - ${{ matrix.os }}
6666
runs-on: ${{ matrix.os }}
6767
timeout-minutes: 60
6868
strategy:
@@ -74,6 +74,7 @@ jobs:
7474
- "1"
7575
test_name:
7676
- "enzyme"
77+
- "jet"
7778
steps:
7879
- uses: actions/checkout@v2
7980
- uses: julia-actions/setup-julia@v1
@@ -100,7 +101,7 @@ jobs:
100101
runs-on: ubuntu-latest
101102
needs:
102103
- test
103-
- integration_tests
104+
- additional_tests
104105
steps:
105106
- name: Finish
106107
uses: coverallsapp/github-action@v2

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ if test_name == "enzyme"
88
@safetestset "Test enzyme derivatives" begin
99
include("test_enzyme.jl")
1010
end
11+
elseif test_name == "jet"
12+
@safetestset "JET" begin
13+
using DynamicExpressions
14+
using JET
15+
if VERSION >= v"1.10"
16+
JET.test_package(DynamicExpressions; target_defined_modules=true)
17+
end
18+
end
1119
elseif test_name == "main"
1220
include("unittest.jl")
1321
@run_package_tests

test/unittest.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,3 @@ end
135135
@testitem "Test parametric expression" begin
136136
include("test_parametric_expression.jl")
137137
end
138-
139-
@testitem "JET" begin
140-
using DynamicExpressions
141-
using JET
142-
if VERSION >= v"1.10"
143-
JET.test_package(DynamicExpressions; target_defined_modules=true)
144-
end
145-
end

0 commit comments

Comments
 (0)