Skip to content

Scala 2.12.20, 3.5.0 #15

Scala 2.12.20, 3.5.0

Scala 2.12.20, 3.5.0 #15

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
- 2.x
pull_request:
# cancel older runs of a pull request;
# this will not cancel anything for normal git pushes
concurrency:
group: cancel-old-pr-runs-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- java-version: 11
command: 'terminal.__.test'
- java-version: 11
command: 'sshd[{2.12.20,2.13.14,3.3.3,3.4.2,3.5.0}].__.test'
- java-version: 11
command: 'amm.repl[2.12.{9,14,20}].__.test'
- java-version: 17
command: 'amm.repl[2.13.{4,9,14}].__.test'
- java-version: 21
command: 'amm.repl[{3.3.3,3.4.2,3.5.0}].__.test'
- java-version: 11
command: 'amm[2.12.{9,14,20}].__.test'
- java-version: 17
command: 'amm[2.13.{4,9,14}].__.test'
- java-version: 21
command: 'amm[{3.3.3,3.4.2,3.5.0}].__.test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- run: ./mill -i -k -j4 "${{ matrix.command }}"
itest:
strategy:
fail-fast: false
matrix:
include:
- java-version: 11
scala-version: '2.12.{9,14,20}'
- java-version: 17
scala-version: '2.13.{4,9,14}'
- java-version: 21
scala-version: '{3.3.3,3.4.2,3.5.0}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- run: ./mill -i -k 'integration[${{ matrix.scala-version }}].__.test'
site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- run: echo "Hello World" && ./mill -i publishDocs --skipDeploy true
shell: 'script -q -e -c "bash {0}"'
env:
TERM: xterm-256color
compileAll:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- run: ./mill -i -k -j4 '__.compile'
release:
if: github.repository == 'com-lihaoyi/Ammonite' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.x')
needs: [ test, itest, site, compileAll ]
uses: ./.github/workflows/release.yml

Check failure on line 103 in .github/workflows/run-tests.yml

View workflow run for this annotation

GitHub Actions / Run Tests

Invalid workflow file

The workflow is not valid. In .github/workflows/run-tests.yml (Line: 103, Col: 11): Error from called workflow com-lihaoyi/Ammonite/.github/workflows/release.yml@9b50077843bea6bbcf8d601c48e507f67f54705a (Line: 28, Col: 28): Unexpected symbol: '$SONATYPE_PGP_PRIVATE_KEY'. Located at position 9 within expression: secrets.$SONATYPE_PGP_PRIVATE_KEY In .github/workflows/run-tests.yml (Line: 103, Col: 11): Error from called workflow com-lihaoyi/Ammonite/.github/workflows/release.yml@9b50077843bea6bbcf8d601c48e507f67f54705a (Line: 29, Col: 30): Unexpected symbol: '$SONATYPE_PGP_PRIVATE_KEY_PASSWORD'. Located at position 9 within expression: secrets.$SONATYPE_PGP_PRIVATE_KEY_PASSWORD
secrets: inherit
publishDocs:
if: github.repository == 'com-lihaoyi/Ammonite' && github.ref == 'refs/heads/main'
needs: [ test, itest, site ]
uses: ./.github/workflows/publishDocs.yml
secrets:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
publishExecutable:
if: github.repository == 'com-lihaoyi/Ammonite' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/2.x')
needs: [ test, itest, site ]
uses: ./.github/workflows/publishExecutable.yml
secrets:
AMMONITE_BOT_AUTH_TOKEN: ${{ secrets.AMMONITE_BOT_AUTH_TOKEN }}