Skip to content

Commit

Permalink
build/do.rq: unconditionally re-run e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Renatus <[email protected]>
  • Loading branch information
srenatus committed Oct 2, 2024
1 parent e359636 commit 33b9c12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/do.rq
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ test if {
}

e2e if {
run("go test -tags e2e ./e2e")
# NOTE: e2e tests depend on the executable, so go should not cache their result (count=1 enforces that)
run("go test -tags e2e ./e2e -count=1")
run("go test -tags integration ./internal/capabilities")
}

Expand Down Expand Up @@ -267,8 +268,7 @@ fetch_eopa_caps if {
# only nonzero size files with JSON extensions. The size check is to
# avoid long-tail edge cases where we crashed after opening the file
# for writing but before committing any content.
eopa_caps_tree := {p:
f |
eopa_caps_tree := {p: f |
f := rq.tree(eopa_caps_dir, {})[p]
f.size != 0
f.ext == "json"
Expand Down

0 comments on commit 33b9c12

Please sign in to comment.