Skip to content

Set up Coveralls with Coveralls Github Action. #72

Set up Coveralls with Coveralls Github Action.

Set up Coveralls with Coveralls Github Action. #72

Workflow file for this run

name: Test Coveralls
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
env:
NODE_COVERALLS_DEBUG: 1
SSL_CERT_DIR: /etc/ssl/certs
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
bundler-cache: false
- name: Run tests
run: bundle install && bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
coveralls-endpoint: https://enterprise-demo.coveralls.io