Merge pull request #1 from buildpulse/versionbump #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Build and test with RSpec | |
run: | | |
gem install bundler | |
bundle install --jobs=4 --retry=3 | |
bin/rspec | |
- name: Upload test results to BuildPulse for flaky test detection | |
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled. | |
uses: buildpulse/buildpulse-action@main | |
with: | |
account: 68192324 # Replace this value with your BuildPulse account ID | |
repository: 238705816 # Replace this value with your BuildPulse repository ID | |
path: spec/reports | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | |
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} |