Skip to content

Commit

Permalink
CI: run rspec in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeHosonuma committed Feb 16, 2020
1 parent c0196f5 commit 6eb2e3d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on: [push]

jobs:
build:

# Note:
# Maybe can use linux image
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- name: Cache bundler
uses: actions/cache@v1
with:
path: vendor/bundle
key: bundler-${{ hashFiles('Gemfile.lock') }}
restore-keys: |
bundler-${{ hashFiles('Gemfile.lock') }}
- name: Setup
run: |
bundle
- name: Run test
run: |
rake test
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run danger
name: Rubocop

on: [pull_request]

Expand Down

0 comments on commit 6eb2e3d

Please sign in to comment.