diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8897cc4..992a546 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,7 +17,6 @@ jobs: - '1.6' - '1.7' - '1.8' - - 'nightly' os: - ubuntu-latest arch: diff --git a/test/runtests.jl b/test/runtests.jl index 29aa3de..8a87bd7 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -72,8 +72,11 @@ end using TerminalRegressionTests function run_terminal_test(func, result, commands, validation) - TerminalRegressionTests.automated_test(joinpath(@__DIR__, "outputs", validation), commands) do emuterm - # TerminalRegressionTests.create_automated_test(joinpath(@__DIR__, "outputs", validation), commands) do emuterm + test_func = TerminalRegressionTests.automated_test + if haskey(ENV, "INFILTRATOR_CREATE_TEST") && !haskey(ENV, "CI") + func = TerminalRegressionTests.create_automated_test + end + test_func(joinpath(@__DIR__, "outputs", validation), commands) do emuterm Infiltrator.end_session!() repl = REPL.LineEditREPL(emuterm, true) repl.interface = REPL.setup_interface(repl)