-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (38 loc) · 1012 Bytes
/
Copy pathtest.yml
File metadata and controls
38 lines (38 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Test
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '34 18 * * *'
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
rake-test:
needs: ruby-versions
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- os: windows-latest
ruby: jruby
- os: windows-latest
ruby: jruby-head
- os: windows-latest
ruby: truffleruby
- os: windows-latest
ruby: truffleruby-head
runs-on: ${{ matrix.os }}
# continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test