forked from thredded/thredded
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0151e83
commit 299165f
Showing
1 changed file
with
4 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|