Skip to content

test

test #1557

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 8, Col: 9): Unexpected value ''
on:
push:
branches:
- '*'
tags:
- ''
jobs:
test-java-21:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set up JDK 21 for test fixtures
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Compile test projects
run: |
(cd ./test/fixtures/general && mvn compile)
(cd ./test/plugin/spring/fixtures/general && mvn compile)
- name: Build Docker image for core
uses: docker/build-push-action@v5
with:
context: .
file: docker/core/Dockerfile
tags: inga-core
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: docker/java/Dockerfile
build-args: |
INGA_IMAGE=inga-core
JAVA_VERSION=21
tags: inga
- name: Build Docker image for test
uses: docker/build-push-action@v5
with:
context: .
file: .github/workflows/docker/Dockerfile
tags: test-inga
- name: Run tests
run: |
docker run test-inga -c "
ros -s fiveam -e \"
(ql:quickload :inga)
(handler-case (asdf:test-system :inga)
(error () (uiop:quit 1)))
(ql:quickload :inga/test-jvm-21)
(handler-case (asdf:test-system :inga/test-jvm-21)
(error () (uiop:quit 1)))\""
test-java-17:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set up JDK 17 for test fixtures
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Compile test projects
run: |
(cd ./test/fixtures/spring-boot-realworld-example-app && ./gradlew compileJava)
(cd ./test/fixtures/spring-tutorials/guava-modules && mvn compile)
(cd ./test/fixtures/spring-tutorials/lightrun && mvn compile)
- name: Build Docker image for core
uses: docker/build-push-action@v5
with:
context: .
file: docker/core/Dockerfile
tags: inga-core
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: docker/java/Dockerfile
build-args: |
INGA_IMAGE=inga-core
JAVA_VERSION=17
tags: inga
- name: Build Docker image for test
uses: docker/build-push-action@v5
with:
context: .
file: .github/workflows/docker/Dockerfile
tags: test-inga
- name: Run tests
run: |
docker run test-inga -c "
ros -s fiveam -e \"
(ql:quickload :inga)
(ql:quickload :inga/test-jvm-17)
(handler-case (asdf:test-system :inga/test-jvm-17)
(error () (uiop:quit 1)))\""
test-typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Build Docker image for core
uses: docker/build-push-action@v5
with:
context: .
file: docker/core/Dockerfile
tags: inga-core
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/typescript/Dockerfile
build-args: |
INGA_IMAGE=inga-core
tags: inga
- name: Build Docker image for test
uses: docker/build-push-action@v5
with:
context: .
file: ./.github/workflows/docker/Dockerfile
tags: test-inga
- name: Run tests
run: |
docker run test-inga -c "
ros -s fiveam -e \"
(ql:quickload :inga)
(handler-case (asdf:test-system :inga)
(error () (uiop:quit 1)))
(ql:quickload :inga/test-node)
(handler-case (asdf:test-system :inga/test-node)
(error () (uiop:quit 1)))\""