Skip to content

Commit

Permalink
Split 'rake test' and 'rake ci-test'
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Dec 11, 2019
1 parent 7dfbd38 commit dbbafbd
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- name: Download test readline
run: |
sh ./download-test_readline.sh
- name: Run test
run: |
rake ci-test
- name: rake test
run: rake test
- name: rake ci-test
run: rake ci-test
6 changes: 5 additions & 1 deletion .github/workflows/ubuntu-rvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
- name: Download test readline
run: |
sh ./download-test_readline.sh
- name: Run test
- name: rake test
run: |
source $HOME/.rvm/scripts/rvm
bundle exec rake test
- name: rake ci-test
run: |
source $HOME/.rvm/scripts/rvm
bundle exec rake ci-test
7 changes: 4 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Download test readline
run: |
sh ./download-test_readline.sh
- name: Run test
run: |
rake ci-test
- name: rake test
run: rake test
- name: rake ci-test
run: rake ci-test
6 changes: 4 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ jobs:
bundle install
- name: Download test readline
run: ./download-test_readline.ps1
- name: Run test
run: rake ci-test
- name: rake test
run: rake test
- name: rake ci-test
run: rake ci-test
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENCODING_LIST.each_pair do |task_name, encoding|
t.libs << 'test'
t.libs << 'lib'
t.loader = :direct
t.pattern = 'test/**/test_*.rb'
t.pattern = 'test/reline/test_*.rb'
end
end

Expand All @@ -27,9 +27,9 @@ ENCODING_LIST.each_pair do |task_name, encoding|
t.ruby_opts << %Q{-I. -e "RELINE_TEST_ENCODING=Encoding.find('#{encoding.name}')"}
t.libs << 'tool'
t.libs << 'lib'
t.libs << 'tool/lib'
t.loader = :direct
t.pattern = 'test/**/test_*.rb'
t.libs << 'tool/lib'
t.pattern = 'test/ext/**/test_*.rb'
end
end

Expand Down

0 comments on commit dbbafbd

Please sign in to comment.