Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Aug 3, 2023
1 parent bc8412c commit dcefc06
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ jobs:
- name: Build with gradle
run: ./gradlew build --stacktrace

unit-tests:
name: 🧪 Run Tests
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v2

- name: Make gradle executable
run: chmod +x ./gradlew

- name: Execute unit tests
run: ./gradlew test --stacktrace

- name: Generate test report
uses: actions/upload-artifact@v2
with:
name: unit_tests_report.html
path: androidApp/build/reports/tests/testDebugUnitTest/
# unit-tests:
# name: 🧪 Run Tests
# runs-on: ubuntu-latest
# steps:
#
# - name: Checkout code
# uses: actions/checkout@v2
#
# - name: Make gradle executable
# run: chmod +x ./gradlew
#
# - name: Execute unit tests
# run: ./gradlew test --stacktrace
#
# - name: Generate test report
# uses: actions/upload-artifact@v2
# with:
# name: unit_tests_report.html
# path: androidApp/build/reports/tests/testDebugUnitTest/

0 comments on commit dcefc06

Please sign in to comment.