Add support for virtual type __typename #1257
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 Build | |
# For pull requests: builds and test | |
on: | |
push: | |
branches: | |
- '!master' | |
pull_request: | |
branches: | |
- "**" | |
permissions: # For test comment bot | |
checks: write | |
pull-requests: write | |
jobs: | |
buildAndTestPR: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Java 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11.0.9' | |
- name: build and test | |
run: ./gradlew assemble --info && ./gradlew check --info | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-results | |
path: "**/build/reports/tests/test" | |
# Default is 90 days | |
retention-days: 7 | |
- name: Publish Test Results | |
uses: EnricoMi/[email protected] | |
if: always() | |
with: | |
files: '**/build/test-results/test/TEST-*.xml' |