From 1fbf91c92eae7cd6afaee3bd96956ad04497c057 Mon Sep 17 00:00:00 2001 From: Ilaria Date: Fri, 6 Dec 2024 11:25:18 +0100 Subject: [PATCH] test --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4654ad..041b350 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,14 @@ name: Java CI - on: push: - branches: [main, dev] + branches: [main, dev, RSJ-75] pull_request: - branches: [main, dev] - - + branches: [main, dev, RSJ-75] + schedule: + - cron: '26 11 * * *' # Esegue alle 11:02 ogni giorno jobs: build: runs-on: ubuntu-latest - services: postgres: image: postgres:13 @@ -25,11 +23,9 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 - steps: - name: Checkout code uses: actions/checkout@v2 - - name: Set up JDK 17 uses: actions/setup-java@v2 with: @@ -42,9 +38,7 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} path: ~/.m2/repository restore-keys: '${{ runner.os }}-maven-' - - name: Install dependencies and run tests run: mvn -f Backend/pom.xml clean install - - name: Run tests - run: mvn -f Backend/pom.xml test \ No newline at end of file + run: mvn -f Backend/pom.xml test