Skip to content

Commit

Permalink
Separate setup and execution steps in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max authored and ko1 committed Mar 11, 2024
1 parent 68f7753 commit 98dad00
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
- name: Set up tests
run: |
bundle exec rake clobber
bundle exec rake compile
bundle exec rake test_protocol
- name: Run tests
run: bundle exec rake test_protocol
5 changes: 3 additions & 2 deletions .github/workflows/ruby-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
- name: Set up tests
run: |
bundle exec rake clobber
bundle exec rake compile
bundle exec rake test_console
- name: Run tests
run: bundle exec rake test_console
5 changes: 3 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
- name: Set up tests
run: |
bundle exec rake clobber
bundle exec rake compile
bundle exec rake test_console
- name: Run tests
run: bundle exec rake test_console
5 changes: 3 additions & 2 deletions .github/workflows/test_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
- name: Set up tests
run: |
bundle exec rake clobber
bundle exec rake compile
bundle exec rake test_test
- name: Run tests
run: bundle exec rake test_test

0 comments on commit 98dad00

Please sign in to comment.