When bisecting, get nightlies both from Scala artifactory and from Maven Central #230
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: Miscellaneous Tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| env: | |
| DOTTY_CI_RUN: true | |
| jobs: | |
| scripted-tests: | |
| name: scripted-tests (${{ matrix.jdk }}) | |
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.body, '[skip ci]') | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - jdk: 17 | |
| command: scala3-bootstrapped/scripted | |
| - jdk: 25 | |
| command: scala3-bootstrapped/scripted sbt-bridge/main-discovery sbt-bridge/main-discovery-scalajs | |
| steps: | |
| - name: Git Checkout | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.jdk }} | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Run SBT scripted tests | |
| run: ./project/scripts/sbt "${{ matrix.command }}" | |
| test-bisect-script: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: coursier/cache-action@v8 | |
| - uses: VirtusLab/scala-cli-setup@v1.15 | |
| with: | |
| jvm: temurin:17 | |
| - name: Run bisect script tests | |
| run: scala-cli test project/scripts/bisect.test.scala |