[Oztechan/TraceFit#11] Update androidGradlePlugin to v8.7.2 #567
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TraceFit CI | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
concurrency: | |
group: ${{ github.ref == 'refs/heads/develop' && 'develop' || github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
CI: true | |
jobs: | |
GradleBuild: | |
runs-on: macos-14 | |
outputs: | |
status: ${{ steps.status.outputs.status }} | |
steps: | |
- name: Setup Gradle Repo | |
uses: Oztechan/Global/actions/setup-gradle-repo@84e65607bda4eae9e27355cd3c19c6d4aec03ccd | |
- name: Assemble | |
run: ./gradlew assemble | |
- name: Cancel other jobs if this fails | |
if: failure() | |
uses: andymckay/[email protected] | |
- name: Set Job Status | |
id: status | |
run: echo "status=success" >> $GITHUB_OUTPUT | |
Quality: | |
runs-on: macos-14 | |
outputs: | |
status: ${{ steps.status.outputs.status }} | |
steps: | |
- name: Setup Gradle Repo | |
uses: Oztechan/Global/actions/setup-gradle-repo@84e65607bda4eae9e27355cd3c19c6d4aec03ccd | |
- name: Run Quality Jobs | |
run: ./gradlew check koverXmlReport --parallel | |
- name: Upload Coverage Report | |
uses: actions/[email protected] | |
with: | |
name: coverageReport | |
path: build/reports/kover/report.xml | |
- name: Cancel other jobs if this fails | |
if: failure() | |
uses: andymckay/[email protected] | |
- name: Set Job Status | |
id: status | |
run: echo "status=success" >> $GITHUB_OUTPUT | |
Notify: | |
runs-on: ubuntu-latest | |
needs: [ GradleBuild, Quality] | |
if: always() | |
steps: | |
- name: Notify slack fail | |
if: false == (needs.GradleBuild.outputs.status == 'success') || | |
false == (needs.Quality.outputs.status == 'success') | |
uses: voxmedia/[email protected] | |
with: | |
channel: tracefit-github | |
status: FAILED | |
color: danger |