mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 23:21:13 +08:00
Add MacOS to CI
This commit is contained in:
parent
7034a83dea
commit
828171722f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -2,15 +2,17 @@ name: test
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
name: ${{ matrix.os }} Ruby ${{ matrix.ruby }}
|
||||||
|
runs-on: ${{ matrix.os }}-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
os: ['ubuntu', 'macos']
|
||||||
ruby: [ '2.5', '2.6', '2.7' ]
|
ruby: [ '2.5', '2.6', '2.7' ]
|
||||||
name: Ruby ${{ matrix.ruby }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-ruby@v1
|
- uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: ${{ matrix.ruby }}
|
ruby-version: ${{ matrix.ruby }}
|
||||||
|
- run: gem install bundler
|
||||||
- run: bundle install
|
- run: bundle install
|
||||||
- run: bundle exec rake test
|
- run: bundle exec rake test
|
Loading…
Reference in New Issue
Block a user