diff options
| author | Paul-Christian Volkmer | 2025-11-28 12:27:19 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-28 12:27:19 +0100 |
| commit | afecf5534ab031f294274116a6297fbed10017b9 (patch) | |
| tree | be3357c0ab299fe1a6454b148e7cf569a3ab33ea /.github/workflows/test.yml | |
| parent | df670aef05b36fed0c1ffe601894205d6001f486 (diff) | |
build: update ci (#201)
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 72 |
1 files changed, 0 insertions, 72 deletions
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 |
