Merge pull request #4261 from dita-ot/feature/conref-topic-from-map #159
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: Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Check formatting | |
run: | | |
npm ci | |
npm run check-fmt | |
- name: Build with Gradle | |
run: ./gradlew | |
- name: Run unit tests | |
run: ./gradlew check --info --stacktrace --no-daemon | |
- name: Run end to end tests | |
run: ./gradlew e2eTest --info --stacktrace --no-daemon | |
- name: Run integration tests | |
run: ./gradlew integrationTest --info --stacktrace --no-daemon |