Await afterAll #1906
Workflow file for this run
This file contains hidden or 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: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: | |
| - 8 | |
| - 11 | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| sbt: | |
| - '+testsJVM/test' | |
| - '+testsJS/test' | |
| - '+testsNative/test' | |
| - 'plugin/test' | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| GOOGLE_APPLICATION_CREDENTIALS: | |
| ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
| GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
| ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "${{ matrix.java }}" | |
| cache: sbt | |
| - name: Install LLVM | |
| if: matrix.os == 'windows-latest' | |
| shell: pwsh | |
| run: choco install llvm --version="20.1.4" --allow-downgrade --force | |
| - name: Add LLVM on Path | |
| if: matrix.os == 'windows-latest' | |
| shell: pwsh | |
| run: echo "${env:ProgramFiles}\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| - name: Assert clang installed and on path | |
| if: matrix.os == 'windows-latest' | |
| shell: pwsh | |
| run: clang --version | |
| - uses: sbt/setup-sbt@v1 | |
| - run: sbt ${{ matrix.sbt }} | |
| jsdom: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 8 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - run: npm install | |
| - run: sbt +testsJS/test | |
| env: | |
| GOOGLE_APPLICATION_CREDENTIALS: | |
| ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} | |
| GOOGLE_APPLICATION_CREDENTIALS_JSON: | |
| ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }} | |
| mima: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 8 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - run: sbt mimaReportBinaryIssues | |
| check: | |
| name: Scalafix, Scalafmt and Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - run: sbt scalafixCheckAll | |
| - run: sbt docs/docusaurusCreateSite | |
| - run: ./bin/scalafmt --check |