From ee28b0feb531e2e7d8e94d6e13397b83a774d499 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 16 Feb 2022 21:33:05 -0800 Subject: [PATCH] lets see if this works --- .github/workflows/specs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 692b08fd..ccf0acc1 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -49,9 +49,12 @@ jobs: - run: bundle exec rake db:setup - run: bundle exec rake db:migrate - name: Run ${{ matrix.suite }} + # SimpleCov runs with the Cobertura formatter for codeclimate + # CCTR expects a file named cobertura.xml run: | bundle exec ${{ matrix.suite }} - $CCTR format-coverage -o coverage/codeclimate.${{ matrix.suite }}.json -t simplecov + cp coverage/coverage.xml ./cobertura.xml + $CCTR format-coverage -o coverage/codeclimate.${{ matrix.suite }}.json -t cobertura - name: CodeCov Coverage uses: codecov/codecov-action@v2 with: