diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac242d4d1..effa64f3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,29 +84,14 @@ jobs: path: | ~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test ~/Library/Developer/Xcode/DerivedData/**/Logs/Build - - name: Install test parsing dependencies - # Workaround as codecov cannot parse xcresult files; - # https://github.com/codecov/uploader/issues/1078 - # https://github.com/codecov/codecov-action/issues/1367 - run: | - brew install a7ex/homebrew-formulae/xcresultparser - - name: Parse Xcode test results for code coverage - env: - COVERAGE_PATH: build/${{ matrix.script }}-coverage.xml - run: | - echo COVERAGE_PATH=${COVERAGE_PATH} >> $GITHUB_ENV - echo "TEST_RESULTS: $TEST_RESULTS" - echo "COVERAGE_PATH: $COVERAGE_PATH" - set -o pipefail && \ - xcresultparser --output-format cobertura \ - "$TEST_RESULTS" >"$COVERAGE_PATH" - name: Upload code coverage - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: # Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129 fail_ci_if_error: false token: ${{ secrets.CODECOV_TOKEN }} - file: ${{ env.COVERAGE_PATH }} + xcode: true + xcode_archive_path: ${{ env.TEST_RESULTS }} docs: runs-on: macos-13 timeout-minutes: 15