Skip to content

Commit 0c7ad88

Browse files
authored
CI: Remove unused script job step (#5)
1 parent fd9d120 commit 0c7ad88

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ jobs:
4949
${{ runner.os }}-test-${{ env.cache-name }}-
5050
${{ runner.os }}-test-${{ matrix.os }}
5151
${{ runner.os }}-
52-
- run: julia --color=yes .ci/test_and_change_uuid.jl
5352
- uses: julia-actions/julia-buildpkg@v1
5453
- uses: julia-actions/julia-runtest@v1
54+
env:
55+
JULIA_DISTRIBUTED_TESTING_STANDALONE: 1
5556
- uses: julia-actions/julia-processcoverage@v1
5657
- uses: codecov/codecov-action@v1
5758
with:

test/distributed_exec.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
using Test, Distributed, Random, Serialization, Sockets
44
import Distributed: launch, manage
55

6+
sharedir = normpath(joinpath(Sys.BINDIR, "..", "share"))
7+
if parse(Bool, get(ENV, "JULIA_DISTRIBUTED_TESTING_STANDALONE", "false"))
8+
@test !startswith(pathof(Distributed), sharedir)
9+
else
10+
@test startswith(pathof(Distributed), sharedir)
11+
end
12+
613
@test cluster_cookie() isa String
714

815
include(joinpath(Sys.BINDIR, "..", "share", "julia", "test", "testenv.jl"))

0 commit comments

Comments
 (0)