Skip to content

Commit

Permalink
Try again?
Browse files Browse the repository at this point in the history
  • Loading branch information
dracco1993 committed May 15, 2024
1 parent 242ce25 commit f8f3df9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
bundler-cache: true

- name: Setup Code Climate test-reporter
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
Expand All @@ -49,13 +51,16 @@ jobs:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432
# REDIS_URL: redis://localhost:6379/0
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: bin/rails spec
# run: bin/rails db:test:prepare spec

- name: Publish code coverage
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: |
export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}} --coverage-input-type simplecov
./cc-test-reporter after-build --coverage-input-type simplecov
# - name: Keep screenshots from failed system tests
# uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f8f3df9

Please sign in to comment.