Skip to content

Commit 2ce88ec

Browse files
committed
CI: Run CI for Ruby head regularly per week
Signed-off-by: Takuro Ashie <[email protected]>
1 parent 20b7162 commit 2ce88ec

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Diff for: .github/workflows/test-ruby-head.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on:
4+
schedule:
5+
- cron: '11 14 * * 0'
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
runs-on: ${{ matrix.os }}
11+
continue-on-error: true
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
16+
ruby-version: ['head']
17+
18+
name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby-version }}
25+
- name: Install addons
26+
if: ${{ matrix.os == 'ubuntu-latest' }}
27+
run: sudo apt-get install libgmp3-dev libcap-ng-dev
28+
- name: Install dependencies
29+
run: bundle install
30+
- name: Run tests
31+
run: bundle exec rake test TESTOPTS=-v

0 commit comments

Comments
 (0)