Skip to content

Commit

Permalink
Removed TestEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
filchristou committed Jul 23, 2024
1 parent 14ddf46 commit 45870b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
- uses: julia-actions/julia-runtest@v1
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
- run: julia -e "import Pkg; Pkg.add(\"TestEnv\")"
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ end

# Use non-default port to avoid clashes with concurrent interactive use or testing.
test_port = RemoteREPL.find_free_port(Sockets.localhost)
server_proc = run(`$(Base.julia_cmd()) --project -e "using TestEnv; TestEnv.activate(); using RemoteREPL, Sockets, UUIDs ; serve_repl($test_port)"`, wait=false)
server_proc = run(`$(Base.julia_cmd()) --project -e "using RemoteREPL, Sockets, UUIDs ; serve_repl($test_port)"`, wait=false)

try

Expand Down Expand Up @@ -302,7 +302,7 @@ end


test_port = RemoteREPL.find_free_port(Sockets.localhost)
server_proc = run(```$(Base.julia_cmd()) --project -e "using TestEnv; TestEnv.activate(); using RemoteREPL, Sockets, UUIDs ; module EvalInMod ; end;
server_proc = run(```$(Base.julia_cmd()) --project -e "using RemoteREPL, Sockets, UUIDs ; module EvalInMod ; end;
serve_repl($test_port, on_client_connect=sess->sess.in_module=EvalInMod)"```, wait=false)
try

Expand All @@ -328,3 +328,5 @@ end
finally
kill(server_proc)
end

nothing

0 comments on commit 45870b5

Please sign in to comment.