Skip to content

Commit

Permalink
disable performance tests in github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored May 31, 2021
1 parent 45820bb commit 0f76ef5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ prog_perf(10^7)
noprog_perf(10^7)
@time prog_perf(10^7)
@time noprog_perf(10^7)
@test @elapsed(prog_perf(10^7)) < 9*@elapsed(noprog_perf(10^7))

if get(ENV, "GITHUB_ACTIONS", "false") != "true" # CI environment is too unreliable for performance tests
@test @elapsed(prog_perf(10^7)) < 9*@elapsed(noprog_perf(10^7))
end

0 comments on commit 0f76ef5

Please sign in to comment.