Skip to content

Commit 829d16a

Browse files
committed
Do CI on win64.
1 parent 6adb611 commit 829d16a

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,31 @@ jobs:
4949
if: "matrix.ruby == '3.0'"
5050
with:
5151
github-token: ${{ secrets.GITHUB_TOKEN }}
52+
wintests:
53+
name: Win64 Ruby ${{ matrix.ruby }}
54+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
55+
runs-on: windows-latest
56+
env:
57+
CI: true
58+
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'jruby' }}
59+
strategy:
60+
fail-fast: false
61+
matrix:
62+
ruby:
63+
- 3.1
64+
steps:
65+
- name: Clone repository
66+
uses: actions/checkout@v2
67+
- name: Set up Ruby
68+
uses: ruby/setup-ruby@v1
69+
with:
70+
ruby-version: ${{ matrix.ruby }}
71+
- name: Install dependencies
72+
run: bundle install --jobs 4 --retry 3
73+
- name: Run tests
74+
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
75+
- name: Coveralls GitHub Action
76+
uses: coverallsapp/github-action@v1.1.2
77+
if: "matrix.ruby == '3.0'"
78+
with:
79+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)