Skip to content

Commit bac5a8f

Browse files
authored
Use max parallel to run all tests (#43)
1 parent f21609b commit bac5a8f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
9+
max-parallel: 1
910
matrix:
1011
ruby: ['2.5', '2.6', '2.7', '3.0']
11-
name: Ruby ${{ matrix.ruby }} sample
12+
name: Ruby ${{ matrix.ruby }}
1213
steps:
1314
- uses: actions/checkout@v2
1415
- uses: actions/setup-ruby@v1
@@ -18,7 +19,6 @@ jobs:
1819
- env:
1920
STREAM_CHAT_API_KEY: ${{ secrets.STREAM_CHAT_API_KEY }}
2021
STREAM_CHAT_API_SECRET: ${{ secrets.STREAM_CHAT_API_SECRET }}
21-
BLOCKLIST: ${{ matrix.ruby == '2.7' }}
2222
run: |
2323
gem install bundler
2424
bundle install --jobs 4 --retry 3

spec/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
expect(resp['results'].length).to eq(1)
249249
end
250250

251-
describe 'blocklist', if: ENV['BLOCKLIST'] != 'false' do
251+
describe 'blocklist' do
252252
before(:all) do
253253
@blocklist = SecureRandom.uuid
254254
end

0 commit comments

Comments
 (0)