-
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
46 additions
and
55 deletions.
There are no files selected for viewing
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,39 @@ | ||
name: GitHub Actions CI | ||
on: [push] | ||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest] | ||
|
||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@master | ||
|
||
- name: Reset system Homebrew installation | ||
run: brew update-reset | ||
if: matrix.os == 'macOS-latest' | ||
|
||
- name: Check Ruby style | ||
run: brew style homebrew/bundle | ||
if: matrix.os == 'macOS-latest' | ||
|
||
- name: Set up Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
version: '>=2.3' | ||
if: matrix.os == 'ubuntu-latest' | ||
|
||
- name: Environment dump | ||
run: env | ||
|
||
- name: Install RubyGems | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
- name: Run RSpec tests | ||
run: bundle exec rspec | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |
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