Observe destination changes clear group bug #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request pipeline | |
on: | |
push: | |
branches: [ master ] # Triggers the workflow on push or pull request events but only for the master branch | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Build | |
run: ./gradlew assemble --stacktrace | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Run tests | |
run: ./gradlew testDebugUnitTest --stacktrace | |
- name: Upload Unit Test Reports | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: unit-test-report | |
path: ./**/build/reports/tests/testDebugUnitTest/** |