Skip to content

Improve directory comparison assertion #1601

Improve directory comparison assertion

Improve directory comparison assertion #1601

Workflow file for this run

name: Test [smoke]
on: pull_request
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
env:
JAVA_TEST_VERSION: 11
jobs:
test-matrix:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Set longpaths support for Windows
if: matrix.os == 'windows-latest'
# Avoid failing tests on Windows with "cannot create directory at X. Filename too long"
# This command will fail if run on a Linux build agent with "could not lock config file: Permission denied"
run: git config --system core.longpaths true
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Run tests
run: >
./gradlew check --stacktrace --continue
"-Porg.jetbrains.dokka.integration_test.skip=true"
"-Porg.jetbrains.dokka.javaToolchain.testLauncher=${{ env.JAVA_TEST_VERSION }}"
- name: Upload build reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-reports-${{ runner.os }}-${{ github.action }}-${{ github.run_id }}
path: |
**/build/reports/
**/*.hprof
**/*.log
if-no-files-found: ignore