Skip to content

Commit

Permalink
CI: Remove unused script job step (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo authored Oct 28, 2023
1 parent fd9d120 commit 0c7ad88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ jobs:
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-${{ matrix.os }}
${{ runner.os }}-
- run: julia --color=yes .ci/test_and_change_uuid.jl
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_DISTRIBUTED_TESTING_STANDALONE: 1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
Expand Down
7 changes: 7 additions & 0 deletions test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
using Test, Distributed, Random, Serialization, Sockets
import Distributed: launch, manage

sharedir = normpath(joinpath(Sys.BINDIR, "..", "share"))
if parse(Bool, get(ENV, "JULIA_DISTRIBUTED_TESTING_STANDALONE", "false"))
@test !startswith(pathof(Distributed), sharedir)
else
@test startswith(pathof(Distributed), sharedir)
end

@test cluster_cookie() isa String

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

0 comments on commit 0c7ad88

Please sign in to comment.