9
9
10
10
jobs :
11
11
test-stable :
12
- name : JL ${{ matrix.version }} - ${{ matrix.arch }} - ${{ matrix. group }} - ${{ matrix.os }}
12
+ name : Stable JL- ${{ matrix.version }} - ${{ matrix.group }}
13
13
runs-on : ${{ matrix.os }}
14
14
env :
15
15
JULIA_PKG_SERVER : " "
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
19
version :
20
- - ' 1.11 '
20
+ - ' lts '
21
21
os :
22
22
- ubuntu-latest
23
23
arch :
@@ -26,26 +26,33 @@ jobs:
26
26
- ' basic_functional_group'
27
27
- ' test_cases_group'
28
28
steps :
29
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v4
30
30
- uses : julia-actions/setup-julia@v2
31
31
with :
32
32
version : ${{ matrix.version }}
33
33
arch : ${{ matrix.arch }}
34
- - uses : julia-actions/cache@v1
34
+ - uses : julia-actions/cache@v2
35
35
- uses : julia-actions/julia-buildpkg@v1
36
- - uses : julia-actions/julia-runtest@v1
37
- continue-on-error : ${{ matrix.version == 'nightly' }}
36
+ - name : Dev dependencies
37
+ shell : julia --project=monorepo {0}
38
+ run : |
39
+ using Pkg;
40
+ Pkg.develop([PackageSpec(path="IncrementalInference"), PackageSpec(path="IncrementalInferenceTypes")]);
41
+ - name : Run tests
42
+ continue-on-error : ${{ matrix.group == 'tmp_debug_group' }}
38
43
env :
39
44
IIF_TEST_GROUP : ${{ matrix.group }}
45
+ run : >
46
+ julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("IncrementalInference")'
40
47
- uses : julia-actions/julia-processcoverage@v1
41
48
- uses : codecov/codecov-action@v2
42
49
with :
43
50
files : lcov.info
44
51
fail_ci_if_error : false
45
52
if : ${{ matrix.version != 'nightly' }}
46
53
47
- upstream-dev-functional :
48
- name : Upstr Dev Functional
54
+ upstream-dev :
55
+ name : Develop JL-${{ matrix.version }} - ${{ matrix.group }}
49
56
runs-on : ubuntu-latest
50
57
env :
51
58
JULIA_PKG_SERVER : " "
@@ -55,105 +62,32 @@ jobs:
55
62
arch :
56
63
- x64
57
64
version :
58
- - ' ~1.12.0-0 '
65
+ - ' 1 '
59
66
group :
60
67
- ' basic_functional_group'
61
- steps :
62
- - uses : actions/checkout@v2
63
- - uses : julia-actions/setup-julia@v2
64
- with :
65
- version : ${{ matrix.version }}
66
- arch : ${{ matrix.arch }}
67
- - uses : actions/cache@v4
68
- env :
69
- cache-name : cache-artifacts
70
- with :
71
- path : ~/.julia/artifacts
72
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
73
- restore-keys : |
74
- ${{ runner.os }}-test-${{ env.cache-name }}-
75
- ${{ runner.os }}-test-
76
- ${{ runner.os }}-
77
- - run : |
78
- git config --global user.name Tester
79
- git config --global user.email te@st.er
80
- - name : Upst Dev Functional
81
- env :
82
- IIF_TEST_GROUP : ${{ matrix.group }}
83
- run : |
84
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));'
85
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"));'
86
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
87
- shell : bash
88
-
89
- upstream-dev-cases :
90
- name : Upstr Dev Test Cases
91
- runs-on : ubuntu-latest
92
- env :
93
- JULIA_PKG_SERVER : " "
94
- strategy :
95
- fail-fast : false
96
- matrix :
97
- arch :
98
- - x64
99
- version :
100
- - ' ~1.12.0-0'
101
- group :
102
68
- ' test_cases_group'
103
- steps :
104
- - uses : actions/checkout@v2
105
- - uses : julia-actions/setup-julia@v2
106
- with :
107
- version : ${{ matrix.version }}
108
- arch : ${{ matrix.arch }}
109
- - uses : actions/cache@v4
110
- env :
111
- cache-name : cache-artifacts
112
- with :
113
- path : ~/.julia/artifacts
114
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
115
- restore-keys : |
116
- ${{ runner.os }}-test-${{ env.cache-name }}-
117
- ${{ runner.os }}-test-
118
- ${{ runner.os }}-
119
- - run : |
120
- git config --global user.name Tester
121
- git config --global user.email te@st.er
122
- - name : Upstr Dev Cases
123
- env :
124
- IIF_TEST_GROUP : ${{ matrix.group }}
125
- run : |
126
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));'
127
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"));'
128
- julia --project=@. --check-bounds=yes -e 'using Pkg; Pkg.test("IncrementalInference"; coverage=false)'
129
- shell : bash
130
-
131
- test-debug-group :
132
- needs : [ upstream-dev-functional ]
133
- name : JL${{ matrix.version }} - ${{ matrix.group }} - ${{ matrix.os }}
134
- runs-on : ${{ matrix.os }}
135
- env :
136
- JULIA_PKG_SERVER : " "
137
- strategy :
138
- fail-fast : false
139
- matrix :
140
- os :
141
- - ubuntu-latest
142
- version :
143
- - ' ~1.12.0-0'
144
- arch :
145
- - x64
146
- group :
147
69
- ' tmp_debug_group'
148
- continue-on-error : true
149
70
steps :
150
- - uses : actions/checkout@v2
71
+ - uses : actions/checkout@v4
151
72
- uses : julia-actions/setup-julia@v2
152
73
with :
153
74
version : ${{ matrix.version }}
154
75
arch : ${{ matrix.arch }}
155
- - uses : julia-actions/cache@v1
156
- - uses : julia-actions/julia-buildpkg@v1
157
- - uses : julia-actions/julia-runtest@v1
76
+ - uses : julia-actions/cache@v2
77
+ # - run: |
78
+ # git config --global user.name Tester
79
+ # git config --global user.email te@st.er
80
+ - name : Dev dependencies
81
+ shell : julia --project=monorepo {0}
82
+ run : |
83
+ using Pkg;
84
+ Pkg.add(PackageSpec(name="DistributedFactorGraphs",rev="develop"))
85
+ Pkg.add(PackageSpec(name="ApproxManifoldProducts",rev="develop"));
86
+ Pkg.develop([PackageSpec(path="IncrementalInference"), PackageSpec(path="IncrementalInferenceTypes")]);
87
+ - name : Run tests
88
+ continue-on-error : ${{ matrix.group == 'tmp_debug_group' }}
158
89
env :
159
90
IIF_TEST_GROUP : ${{ matrix.group }}
91
+ run : >
92
+ julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("IncrementalInference")'
93
+
0 commit comments