Skip to content

Commit

Permalink
ci: codecov fix and rc workflow tweak (WPB-8645) 🍒 (#3224)
Browse files Browse the repository at this point in the history
Co-authored-by: Yamil Medina <[email protected]>
  • Loading branch information
github-actions[bot] and yamilmedina authored Jul 23, 2024
1 parent ceaa5ad commit 69161fc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build-rc-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,6 @@ jobs:
KEYPWD_COMPAT: ${{ secrets.SIGNING_KEY_PASSWORD_INTERNAL_RELEASE }}
KEYSTOREPWD_COMPAT: ${{ secrets.SIGNING_STORE_PASSWORD_INTERNAL_RELEASE }}
ENABLE_SIGNING: ${{ secrets.ENABLE_SIGNING }}
- name: Build internal flavour bundle
run:
./gradlew app:bundleInternalCompat
env:
DATADOG_APP_ID: ${{ secrets.DATADOG_APP_ID }}
DATADOG_CLIENT_TOKEN: ${{ secrets.DATADOG_CLIENT_TOKEN }}
KEYSTORE_FILE_PATH_DEBUG: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_RELEASE: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_COMPAT: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_COMPAT_RELEASE: ${{ vars.KEYSTORE_FILE_PATH }}
WIRE_KEYSTORE_PATH: ${{ vars.WIRE_KEYSTORE_PATH }}
KEYSTORE_KEY_NAME_COMPAT: ${{ secrets.SIGNING_KEY_ALIAS_INTERNAL_RELEASE }}
KEYPWD_COMPAT: ${{ secrets.SIGNING_KEY_PASSWORD_INTERNAL_RELEASE }}
KEYSTOREPWD_COMPAT: ${{ secrets.SIGNING_STORE_PASSWORD_INTERNAL_RELEASE }}
ENABLE_SIGNING: ${{ secrets.ENABLE_SIGNING }}
- name: Decode release Keystore
env:
ENCODED_STRING: ${{ secrets.ENCODED_KEYSTORE_PRE_RELEASE }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/gradle-run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on: [ workflow_call ]
permissions:
contents: read

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
coverage:
runs-on: buildjet-8vcpu-ubuntu-2204
Expand Down Expand Up @@ -75,10 +78,14 @@ jobs:
merge-multiple: true

- name: Upload code coverage to codecov
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
verbose: true
os: linux
token: ${{ secrets.CODECOV_TOKEN }}
files: "app/build/reports/kover/report.xml"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ comment:
layout: diff, files, footer
behavior: default
require_changes: true

github_checks:
annotations: true

0 comments on commit 69161fc

Please sign in to comment.