Skip to content

Commit

Permalink
add workflow build step
Browse files Browse the repository at this point in the history
  • Loading branch information
VREMSoftwareDevelopment committed Jan 21, 2024
1 parent 84b494b commit f42bf38
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- name: checkout repository
uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
Expand All @@ -18,12 +18,20 @@ jobs:
run: bash ./gradlew testDebugUnitTest --stacktrace
- name: coverage
run: bash ./gradlew jacocoTestCoverageVerification --stacktrace
- name: Reports
- name: artifact reports
uses: actions/upload-artifact@v4
with:
name: artifact-reports
path: app/build/reports
- name: Upload coverage to Codecov
- name: upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml
- name: build apk
run: bash ./gradlew assembleDebug --stacktrace
- name: artifact apk
uses: actions/upload-artifact@v4
with:
name: artifact-apk
path: app/build/outputs/apk/debug

0 comments on commit f42bf38

Please sign in to comment.