Skip to content

Commit

Permalink
ci(sdt): only run the top-level tests and ignore the component tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Oct 16, 2023
1 parent bb0e1a2 commit a8298c2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
using TestItemRunner

@run_package_tests filter=ti->!(:skipci in ti.tags) verbose=true
function test_is_valid(ti)
if :skipci in ti.tags
return false
end
for component in ["GBIF", "Phylopic", "Fauxcurrences", "SimpleSDMLayers", "SimpleSDMDatasets"]
if contains(ti.filename, "$(component)/src")
return false
end
end
return true
end

@run_package_tests filter=test_is_valid verbose=true

0 comments on commit a8298c2

Please sign in to comment.