Skip to content

Migrate CI to Github Actions #2

Migrate CI to Github Actions

Migrate CI to Github Actions #2

Workflow file for this run

name: RSpec
on:
- push
jobs:
test:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
ports:
- 3306:3306
env:

Check failure on line 13 in .github/workflows/rspec.yml

View workflow run for this annotation

GitHub Actions / RSpec

Invalid workflow file

The workflow is not valid. .github/workflows/rspec.yml (Line: 13, Col: 13): Unexpected value ''
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
redis:
image: redis:latest
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Code Coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{github.workspace}}/coverage/.resultset.json:simplecov