Skip to content

update build steps

update build steps #43

Workflow file for this run

name: RSpec
on:
- push
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:alpine
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
bundler-cache: true
- name: Run tests
env:
REDIS_URL: redis://localhost:6379
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