From afecf5534ab031f294274116a6297fbed10017b9 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 28 Nov 2025 12:27:19 +0100 Subject: build: update ci (#201) --- .github/workflows/test.yml | 72 ---------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 .github/workflows/test.yml (limited to '.github/workflows/test.yml') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 37ad568..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: 'Run Tests' - -on: - push: - branches: [ 'master' ] - tags: [ '*' ] - pull_request: - branches: [ '*' ] - -jobs: - tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - - - name: Execute tests - run: ./gradlew test - - integrationTests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - - - name: Execute integration tests - run: ./gradlew integrationTest - - # Deploy preview build for testing based on latest successful tested master - deployPreview: - runs-on: ubuntu-latest - needs: - - tests - - integrationTests - if: github.ref == 'refs/heads/master' - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Execute image build and push - run: | - ./gradlew bootBuildImage - docker tag ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}:preview - docker push ghcr.io/${{ github.repository }}:preview \ No newline at end of file -- cgit v1.2.3