Skip to content

[SubMob/ScopeMob#32] Update codecov/codecov-action action to v5.1.2 (… #563

[SubMob/ScopeMob#32] Update codecov/codecov-action action to v5.1.2 (…

[SubMob/ScopeMob#32] Update codecov/codecov-action action to v5.1.2 (… #563

Workflow file for this run

name: ScopeMob CI
on:
push:
branches:
- develop
- 'submodule/CCC'
pull_request:
jobs:
build:
runs-on: macos-14
steps:
- name: Setup Gradle Repo
uses: Oztechan/Global/actions/setup-gradle-repo@f3f5fec1f5562978457d820f6d6c83b81cac28a9
- name: Gradle Build
run: ./gradlew build koverXmlReport --parallel
- name: Upload to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/report.xml
- name: Upload to Codacy
uses: codacy/[email protected]
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: build/reports/kover/report.xml
- name: Notify slack fail
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
channel: submob
status: FAILED
color: danger