File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 4949 uses : julia-actions/setup-julia@v1
5050 with :
5151 version : ${{ matrix.julia-version }}
52+ - name : Remove compat entry for old julia versions
53+ # This is needed for julia 1.0-1.3, see https://julialang.slack.com/archives/C67910KEH/p1697548190422019?thread_ts=1697546952.011759&cid=C67910KEH
54+ if : matrix.julia-version == '1.0' || matrix.julia-version == '1.1' || matrix.julia-version == '1.2' || matrix.julia-version == '1.3'
55+ shell : julia --project=. --color=yes {0}
56+ run : |
57+ using Pkg.TOML
58+ prj = TOML.parsefile("Project.toml")
59+ delete!(prj["compat"], "Test")
60+ open(io -> TOML.print(io, prj), "Project.toml", "w")
5261 - uses : julia-actions/julia-runtest@v1
5362 - uses : julia-actions/julia-processcoverage@v1
5463 - uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1010
1111[compat ]
1212Compat = " 3.12, 4"
13+ Pkg = " 1.0"
14+ Test = " 1.0"
1315julia = " 1.0"
1416
1517[extras ]
You can’t perform that action at this time.
0 commit comments