.github/workflows/build.yml in briard-2.6.1 vs .github/workflows/build.yml in briard-2.6.2
- old
+ new
@@ -20,13 +20,16 @@
run: |
gem install bundler
bundle install
bundle exec rspec
- # - name: Publish code coverage
- # uses: paambaati/codeclimate-action@v2.7.4
- # env:
- # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
+ - name: Publish code coverage
+ uses: paambaati/codeclimate-action@v3.0.0
+ env:
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
+ with:
+ coverageCommand: bundle exec rspec
+ coverageLocations: ${{ github.workspace }}/coverage/coverage.json:simplecov
- name: Notify Slack
uses: adamkdean/simple-slack-notify@1.0.4
with:
channel: '#ops'