Skip to content

Commit

Permalink
[22321] Updated github action workflow for running unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-jsonjuliane committed Nov 6, 2024
1 parent d67d118 commit 9efa99c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- develop
- feature/**

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -38,7 +37,7 @@ jobs:

- name: Run unit tests
id: unit_tests
run: ./gradlew test
run: ./gradlew test -x tripkituisample:test

- name: Archive test results
if: always()
Expand All @@ -55,7 +54,6 @@ jobs:
:x: Unit tests failed!
@${{ github.event.pull_request.assignee.login || github.event.pull_request.user.login }}, please review and fix the issues in the unit tests. Let us know if you need any help.
- name: Comment on Pull Request for General Workflow Failures
if: failure() && github.event_name == 'pull_request' && steps.unit_tests.outcome != 'failure'
uses: thollander/[email protected]
Expand All @@ -64,7 +62,6 @@ jobs:
:x: Workflow execution failed!
@${{ github.event.pull_request.assignee.login || github.event.pull_request.user.login }}, there was an issue with the workflow execution. Please check the logs and resolve the issue.
- name: Comment on Pull Request (With Reviewers)
if: success() && github.event_name == 'pull_request'
uses: thollander/[email protected]
Expand All @@ -73,7 +70,6 @@ jobs:
:white_check_mark: Unit tests passed successfully!
Please ensure the code is reviewed before proceeding with the merge.
# - name: Comment on Pull Request
# run: |
# if [[ "${{ github.event.pull_request.requested_reviewers[2].login }}" != "" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion tripkit-android

0 comments on commit 9efa99c

Please sign in to comment.