diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2f6d59d..0c3ee10 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 diff --git a/test/runtests.jl b/test/runtests.jl index 53e197d..746db3b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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 @@ -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 @@ -328,3 +328,5 @@ end finally kill(server_proc) end + +nothing