Skip to content

Commit

Permalink
add: add unit test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ansehoon1999 authored Dec 2, 2023
1 parent 69bd4e5 commit 3263b49
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit Test CI
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:

jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2

- name: Run tests
run: ./gradlew test

- name: Upload test report
uses: actions/upload-artifact@v2
with:
name: unit_test_report
path: app/build/reports/tests/testDebugUnitTest/


0 comments on commit 3263b49

Please sign in to comment.