Merge pull request #1031 from mpretty-cyro/fix/remove-codecov

Removed the codecov setup
pull/1036/head
Morgan Pretty 1 year ago committed by GitHub
commit 07e5b0885d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -88,20 +88,6 @@ local sim_delete_cmd = 'if [ -f build/artifacts/sim_uuid ]; then rm -f /Users/$U
status: ['failure', 'success'], status: ['failure', 'success'],
}, },
}, },
{
name: 'Install Codecov CLI',
commands: [
'mkdir -p build/artifacts',
'pip3 install codecov-cli',
'find $HOME/Library/Python -name codecovcli -print -quit > ./build/artifacts/codecov_path',
|||
if [[ ! -s ./build/artifacts/codecov_path ]]; then
which codecovcli > ./build/artifacts/codecov_path
fi
|||,
'$(<./build/artifacts/codecov_path) --version',
],
},
{ {
name: 'Convert xcresult to xml', name: 'Convert xcresult to xml',
commands: [ commands: [
@ -109,17 +95,6 @@ local sim_delete_cmd = 'if [ -f build/artifacts/sim_uuid ]; then rm -f /Users/$U
], ],
depends_on: ['Build and Run Tests'], depends_on: ['Build and Run Tests'],
}, },
{
// No token needed for public repos
name: 'Upload coverage to Codecov',
commands: [
'$(<./build/artifacts/codecov_path) upload-process --fail-on-error -f ./build/artifacts/coverage.xml',
],
depends_on: [
'Convert xcresult to xml',
'Install Codecov CLI',
],
},
], ],
}, },
// Validate build artifact was created by the direct branch push (PRs only) // Validate build artifact was created by the direct branch push (PRs only)

Loading…
Cancel
Save