Skip to content

Commit

Permalink
added check unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedOmara14 committed Jun 20, 2024
1 parent 6d6d069 commit 4aec12e
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,27 @@ jobs:
- name: Run Lint
run: ./gradlew lintDebug

- name: Upload Test Report
- name: Upload lint check Report
uses: actions/upload-artifact@v4
with:
name: index.html
name: lint.html
path: domain/build/reports/lint-results-debug.html

unit-test:
needs:
- lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: ./gradlew test

- name: Upload Test Report
uses: actions/upload-artifact@v4
with:
name: unit-test-report
path: domain/build/reports/tests/testDebugUnitTest/


0 comments on commit 4aec12e

Please sign in to comment.