Skip to content

Commit

Permalink
TEST: using better CI detection and increased test verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 23, 2024
1 parent 558d23c commit 4844e50
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@ Rebol [
title: "Basic OpenCV extension test"
]

CI?: "true" = get-env "CI"
system/options/quiet: false
system/options/log/rebol: 4

CI?: any [
"true" = get-env "CI"
"true" = get-env "GITHUB_ACTIONS"
"true" = get-env "TRAVIS"
"true" = get-env "CIRCLECI"
"true" = get-env "GITLAB_CI"
]

if CI? [
;; for the CI test the module is the build directory
system/options/modules: to-real-file %build/
print ["Using modified modules location:" as-green system/options/modules]
ls (system/options/modules)

if system/platform = 'Windows [
;; include a directory with OpenCV dlls in the PATH environment variable
set-env "PATH" ajoin [
Expand Down

0 comments on commit 4844e50

Please sign in to comment.