[Oztechan/Global#4] Global config update synced file(s) with Oztechan… #279
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: ScopeMob CI | |
on: | |
push: | |
branches: | |
- develop | |
- 'submodule/CCC' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repo | |
uses: actions/checkout@v4.1.1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3.13.0 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Gradle Build | |
uses: gradle/gradle-build-action@v2.9.0 | |
with: | |
arguments: build koverXmlReport --parallel | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3.1.4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: build/reports/kover/report.xml | |
- name: Upload to Codacy | |
uses: codacy/codacy-coverage-reporter-action@v1.3.0 | |
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/github-action-slack-notify-build@v1.6.0 | |
with: | |
channel: submob | |
status: FAILED | |
color: danger |