Skip to content

Update test

Update test #2047

Workflow file for this run

name: Unit test(MacOS)
on:
push:
branches:
- master
pull_request:
merge_group:
jobs:
test:
runs-on: macos-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: oracle
java-version: 17
- name: Run unit tests
run: sh ./build.sh
- name: Upload Test Reports Folder
uses: actions/upload-artifact@v4
if: ${{ always() }} # IMPORTANT: Upload reports regardless of status
with:
name: ut-reports
path: app/build/reports/tests
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/macos/codecov
chmod +x codecov
./codecov