Maintenance mode #360
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: Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Run Gradle | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: adopt | |
- name: Build & run functional tests | |
run: ./gradlew -i -S build functionalTest | |
- name: Publish unit test results | |
uses: mikepenz/action-junit-report@v2 | |
if: always() | |
with: | |
report_paths: | | |
**/target/**/TEST-*.xml | |
**/build/**/TEST-*.xml | |
**/cypress/results/**/TEST-*.xml | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish unit test reports | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: gap-unit-tests-reports | |
path: build/reports/tests/test | |
- name: Publish functional test reports | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: gap-functional-tests-reports | |
path: build/reports/tests/functionalTest | |
- name: Publish launcher functional test reports | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: gap-launcher-functional-tests-reports | |
path: launcher/build/reports/tests/functionalTest |