Skip to content

Create workflows that test different integrations from demo project #9

Create workflows that test different integrations from demo project

Create workflows that test different integrations from demo project #9

name: Test Coveralls GitHub Action
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
bundler-cache: true
- name: Run tests
run: bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@v2
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# file: ./coverage/lcov/coveralls-demo-ruby.lcov
# coveralls-endpoint: https://2d62-47-145-39-95.ngrok-free.app