Skip to content

Commit

Permalink
Fix cwd for load test (#25)
Browse files Browse the repository at this point in the history
Test should pass the file directory as cwd. Also make sure we run the
tests, which causes the build to fail if they don't pass.
  • Loading branch information
ttonelli authored Dec 17, 2024
1 parent 7a1c3fc commit 8296165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/helpers_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def output { 4 }
// %% name="baz", read, write
def output { 6 }
"""
blocks = parse_code_blocks(".", "my_code", split(code, "\n"))
blocks = parse_code_blocks(@__DIR__, "my_code", split(code, "\n"))

@test length(blocks) == 6

Expand Down
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Test, ReTestItems, RAIRelTest

include("helpers_test.jl")
@testset begin
include("helpers_test.jl")
end

0 comments on commit 8296165

Please sign in to comment.