Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
--health-timeout 5s
--health-retries 5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
CODE_CLIMATE_API_URL: https://api.codeclimate.com/v1
CODE_CLIMATE_API_ORG_NAME: rootstrap
GITHUB_ORGANIZATION: rootstrap
Expand Down Expand Up @@ -124,22 +123,14 @@ jobs:
sudo apt-get -yqq install libpq-dev
- name: Install dependencies
run: bundle install
- name: Setup CodeClimate
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: Copy database.yml
run: cp config/database.yml.example config/database.yml
- name: Setup Database
run: |
bundle exec rails db:setup
- name: Run tests and upload coverage report
- name: Run tests
run: |
bundle exec rspec
- name: Report to CodeClimate
run: |
./cc-test-reporter after-build --exit-code 0
- name: Setup sonar scanner
uses: warchant/setup-sonar-scanner@v3
- name: Run Sonarqube analysis
Expand Down
Loading