--- name: Test on: push: schedule: - cron: 0 2 * * 1-5 jobs: rspec: name: RSpec runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Install dependencies run: | gem install bundler bundle install --jobs=3 --retry=3 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter ./cc-test-reporter before-build - name: Run rspec run: | GLI_DEBUG=true bundle exec rspec ./cc-test-reporter after-build --exit-code $? -t simplecov env: CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}