Skip to content

Commit

Permalink
CI: Separate in_tail test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ashie committed Feb 18, 2022
1 parent 3e42555 commit d7fe2f5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/windows-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Testing on Windows
name: Ruby 3.1 on Windows

on:
push:
Expand All @@ -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
Expand All @@ -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

0 comments on commit d7fe2f5

Please sign in to comment.