diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 6287f69d..0c4fc945 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -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 @@ -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