From dde1bfec7b1ec5afcafb15d84b5185f22d607aed Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Sun, 16 Feb 2025 21:30:43 +0400 Subject: [PATCH] #13 -- Fix ci --- .gitea/workflows/test.yaml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index f95e4cd..cbd3290 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,19 +1,15 @@ name: CI fuzzy controller -on: - push: - branches: [ master ] +on: [push] jobs: container-test-job: runs-on: ubuntu-latest - container: - image: exoplatform/jdk:openjdk-21-ubuntu-2204 - env: - NODE_ENV: development - ports: - - 80 - volumes: - - my_docker_volume:/volume_mount - options: --cpus 1 steps: - - name: Test fuzzy controller - run: bash gradlew test \ No newline at end of file + - uses: actions/checkout@v4 + - name: Set up JDK 21 for x64 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + architecture: x64 + - name: Test with Gradle + run: bash ./gradlew test \ No newline at end of file