-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4380 from fluent/refine-ci
Refine CI settings: * Unify CI settings for each platforms to one file * Don't run CI for Ruby head on each push/pull_request event Because Ruby head is continually changed and not released yet, running CI one shot isn't so meaningful. Instead run it regularly on every Sunday. * Add TESTOPT=-v to all platfroms It's useful to investigate when a test is stalled. * Remove a hack for Ruby 3.0 on Windows It seems no longer needed.
- Loading branch information
Showing
4 changed files
with
37 additions
and
93 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test | ||
|
||
on: | ||
schedule: | ||
- cron: '11 14 * * 0' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: true | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | ||
ruby-version: ['head'] | ||
|
||
name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
- name: Install addons | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
run: sudo apt-get install libgmp3-dev libcap-ng-dev | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run tests | ||
run: bundle exec rake test TESTOPTS=-v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.