File tree Expand file tree Collapse file tree 3 files changed +54
-10
lines changed
Expand file tree Collapse file tree 3 files changed +54
-10
lines changed Original file line number Diff line number Diff line change 1+ name : CI (Julia pre)
2+ env :
3+ JULIA_NUM_THREADS : 2
4+ concurrency :
5+ # group by workflow and ref; the last slightly strange component ensures that for pull
6+ # requests, we limit to 1 concurrent job, but for the master branch we don't
7+ group : ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main') || github.run_number }}
8+ # Cancel intermediate builds, but only if it is a pull request build.
9+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
10+ on :
11+ pull_request :
12+ branches :
13+ - master
14+ push :
15+ branches :
16+ - master
17+ tags : ' *'
18+ jobs :
19+ test :
20+ name : Julia pre - ubuntu-latest - x64 - ${{ github.event_name }}
21+ runs-on : ubuntu-latest
22+ continue-on-error : true
23+ steps :
24+ - uses : actions/checkout@v6
25+ - uses : julia-actions/setup-julia@v2
26+ with :
27+ version : pre
28+ - uses : julia-actions/cache@v2
29+ - run : sed -i '/JET/d' test/Project.toml
30+ - uses : julia-actions/julia-buildpkg@v1
31+ - uses : julia-actions/julia-runtest@v1
32+ - uses : julia-actions/julia-processcoverage@v1
33+ - uses : codecov/codecov-action@v5
34+ with :
35+ files : lcov.info
36+ token : ${{ secrets.CODECOV_TOKEN }}
37+ fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -25,13 +25,16 @@ jobs:
2525 version :
2626 - ' 1'
2727 - ' 1.10'
28- - ' pre'
2928 os :
3029 - ubuntu-latest
3130 - macos-latest
3231 - windows-latest
3332 arch :
3433 - x64
34+ include :
35+ - version : ' 1'
36+ os : macos-latest
37+ arch : aarch64
3538 steps :
3639 - uses : actions/checkout@v6
3740 - uses : julia-actions/setup-julia@v2
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ using Documenter
33using Graphs
44using Graphs. SimpleGraphs
55using Graphs. Experimental
6- using JET
6+ if isempty (VERSION . prerelease)
7+ using JET
8+ end
79using Graphs. Test
810using Test
911using SparseArrays
@@ -154,14 +156,16 @@ tests = [
154156]
155157
156158@testset verbose = true " Graphs" begin
157- @testset " Code quality (JET.jl)" begin
158- @assert get_pkg_version (" JET" ) >= v " 0.8.4"
159- JET. test_package (
160- Graphs;
161- target_defined_modules= true ,
162- ignore_missing_comparison= true ,
163- mode= :typo , # TODO : switch back to `:basic` once the union split caused by traits is fixed
164- )
159+ if isempty (VERSION . prerelease)
160+ @testset " Code quality (JET.jl)" begin
161+ @assert get_pkg_version (" JET" ) >= v " 0.8.4"
162+ JET. test_package (
163+ Graphs;
164+ target_defined_modules= true ,
165+ ignore_missing_comparison= true ,
166+ mode= :typo , # TODO : switch back to `:basic` once the union split caused by traits is fixed
167+ )
168+ end
165169 end
166170
167171 @testset " Code quality (Aqua.jl)" begin
You can’t perform that action at this time.
0 commit comments