From e895f042ffbe6d35fa4699bfd956b5bb93e1e7f0 Mon Sep 17 00:00:00 2001 From: Youssef Date: Sun, 31 May 2026 00:05:26 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20ex=C3=A9cuter=20les=20tests=20maven=20dan?= =?UTF-8?q?s=20un=20conteneur=20docker=20=C3=A9ph=C3=A9m=C3=A8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d22bcea..fb3bb77 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,15 +13,13 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: 'maven' - - - name: Run Maven Tests - run: mvn clean test + - name: Run Maven Tests in Docker + run: | + docker run --rm \ + -v ${{ github.workspace }}:/app \ + -w /app \ + maven:3.9.6-eclipse-temurin-21 \ + mvn clean test deploy: name: Build & Run in Docker Container