From 98dad005db9053f5d2a9965483d550a477ba6d5c Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Sun, 10 Mar 2024 21:20:51 +0900 Subject: [PATCH] Separate setup and execution steps in CI --- .github/workflows/protocol.yml | 5 +++-- .github/workflows/ruby-macos.yaml | 5 +++-- .github/workflows/ruby.yml | 5 +++-- .github/workflows/test_test.yml | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/protocol.yml b/.github/workflows/protocol.yml index 3b61c026c..7eb8aff6c 100644 --- a/.github/workflows/protocol.yml +++ b/.github/workflows/protocol.yml @@ -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 diff --git a/.github/workflows/ruby-macos.yaml b/.github/workflows/ruby-macos.yaml index 4e17a3370..01655e9b9 100644 --- a/.github/workflows/ruby-macos.yaml +++ b/.github/workflows/ruby-macos.yaml @@ -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 diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 56d5d0681..fb99a1d7d 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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 diff --git a/.github/workflows/test_test.yml b/.github/workflows/test_test.yml index 58b1580e7..2aba0cb1f 100644 --- a/.github/workflows/test_test.yml +++ b/.github/workflows/test_test.yml @@ -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