Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Aug 24, 2024
1 parent cf09b7c commit c6226df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,14 @@ jobs:
~/Library/Developer/Xcode/DerivedData/Parse-*/Logs/Test
~/Library/Developer/Xcode/DerivedData/**/Logs/Build
- name: Install test parsing dependencies
if: matrix.script == 'test:ios'
# Workaround as codecov cannot parse xcresult files;
# https://github.com/codecov/uploader/issues/1078
# https://github.com/codecov/codecov-action/issues/1367
run: |
if [ "${{ matrix.script }}" != "test:ios" ]; then
exit 0
fi
brew install a7ex/homebrew-formulae/xcresultparser
- name: Convert Xcode test results for code coverage upload
if: matrix.script == 'test:ios'
env:
COVERAGE_PATH: build/${{ matrix.script }}-coverage.xml
run: |
Expand All @@ -104,6 +103,7 @@ jobs:
xcresultparser --output-format cobertura \
"$TEST_RESULTS" >"$COVERAGE_PATH"
- name: Upload code coverage
if: matrix.script == 'test:ios'
uses: codecov/codecov-action@v4
with:
# Set to `true` once codecov token bug is fixed; https://github.com/parse-community/parse-server/issues/9129
Expand Down

0 comments on commit c6226df

Please sign in to comment.