Add button to jump to reference's target template #323
Workflow file for this run
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: CI | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- '.github/**.md' | |
- '.github/img/**' | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- '.github/**.md' | |
- '.github/img/**' | |
jobs: | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
generate-job-summary: false | |
- name: Run tests | |
run: xvfb-run --auto-servernum ./gradlew check | |
- name: Store coverage report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage | |
path: build/reports/kover/report.xml | |
test-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
generate-job-summary: false | |
- name: Run tests | |
run: ./gradlew check | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Set up Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
generate-job-summary: false | |
- name: Run tests | |
run: ./gradlew check | |
upload-coverage: | |
needs: [ test-linux, test-macos, test-windows ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Load coverage report | |
uses: actions/download-artifact@v3 | |
with: | |
name: coverage | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
files: report.xml |