Skip to content

Commit

Permalink
Stop trying on CodeClimate for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rickychilcott committed Jul 18, 2024
1 parent 0151e83 commit 299165f
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ jobs:
cd spec/dummy && yarn && cd -
fi
- name: Install Code Climate
if: always()
run: |
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 Tests: test:nojs"
run: |
SIMPLECOV_NAME="test:nojs" bundle exec rspec --force-color --format d --tag=~js --tag=~i18n_tasks
Expand All @@ -126,26 +119,10 @@ jobs:
run: |
bin/run_specs_repeatedly --tag=threaded_render
- name: Report to Code Climate
if: always()
run: |
case "${{ job.status }}" in
"success")
exit_code=0
;;
"failure")
exit_code=1
;;
"cancelled")
exit_code=99
;;
*)
echo "Unknown job status: ${{ job.status }}"
exit_code=999
;;
esac
./cc-test-reporter after-build --exit-code $exit_code
# - name: Test & publish code coverage
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: <code_climate_reporter_id>

# - name: Cache Onebox Data and Views
# uses: actions/cache@v2
Expand Down

0 comments on commit 299165f

Please sign in to comment.