Skip to content

Commit b94d0b8

Browse files
committed
CI: Specify verbose flag
1 parent eb68d14 commit b94d0b8

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.github/workflows/ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ jobs:
7171

7272
- run: bundle install --jobs 4 --retry 3 --without "nmatrix python"
7373

74-
- run: bundle exec rake
75-
env:
76-
TIMEOUT_SEC: 180
74+
- run: bundle exec rake VERBOSE=1 TIMEOUT_SEC=180
7775

7876
- run: rake build
7977

.github/workflows/nmatrix.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ jobs:
6464

6565
- run: bundle install --jobs 4 --retry 3 --without "numo python"
6666

67-
- run: bundle exec rake
68-
env:
69-
TIMEOUT_SEC: 180
67+
- run: bundle exec rake VERBOSE=1 TIMEOUT_SEC=180
7068

7169
- run: rake build
7270

.github/workflows/pycall.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,5 @@ jobs:
8383

8484
- run: python -V
8585

86-
- run: bundle exec rake
87-
env:
88-
PYTHON: python
89-
TIMEOUT_SEC: 180
86+
- run: bundle exec rake PYTHON=python VERBOSE=1 TIMEOUT_SEC=180
9087
continue-on-error: ${{ matrix.python == '2.x' }}

Rakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ require "rake/testtask"
33

44
desc "Run tests"
55
task :test do
6-
ruby("test/run.rb")
6+
verbose = ""
7+
verbose = "-v" if ENV["VERBOSE"].to_i > 0
8+
ruby("test/run.rb #{verbose}".strip)
79
end
810

911
task default: :test

0 commit comments

Comments
 (0)