test #1557
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: | ||
| - '*' | ||
| 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)))\"" | ||