From d7fe2f58d4f04116d52f7871f806428f77ad2495 Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Fri, 18 Feb 2022 22:38:38 +0900 Subject: [PATCH] CI: Separate in_tail test Because in_tail test seems completely broken and it breaks also other test. It's too noisy to investivate other failed tests. Signed-off-by: Takuro Ashie --- .github/workflows/windows-test.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows-test.yaml b/.github/workflows/windows-test.yaml index d20893ba30..2f37fa1546 100644 --- a/.github/workflows/windows-test.yaml +++ b/.github/workflows/windows-test.yaml @@ -1,4 +1,4 @@ -name: Testing on Windows +name: Ruby 3.1 on Windows on: push: @@ -14,11 +14,12 @@ jobs: fail-fast: false matrix: ruby-version: ['3.1'] + in_tail: [true, false] os: - windows-latest experimental: [false] - name: Unit testing with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} + name: in_tail ${{ matrix.in_tail }} steps: - uses: actions/checkout@v2 - name: Set up Ruby @@ -27,5 +28,11 @@ jobs: ruby-version: ${{ matrix.ruby-version }} - name: Install dependencies run: ridk exec bundle install - - name: Run tests - run: bundle exec rake test TESTOPTS=-v + - name: test in_tail + if: ${{ matrix.in_tail }} + run: bundle exec rake test TESTOPTS=-v TEST=test/plugin/test_in_tail.rb + - name: test without in_tail + if: ${{ !matrix.in_tail }} + run: | + rm test/plugin/test_in_tail.rb + bundle exec rake test TESTOPTS=-v