Skip to content

Commit

Permalink
remove unneccessary build job
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Lien committed Mar 7, 2022
1 parent 6821ffa commit 1d256eb
Showing 1 changed file with 5 additions and 27 deletions.
32 changes: 5 additions & 27 deletions .github/workflows/build-deploy-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,6 @@ jobs:
with:
paths: backend

build-backend:
name: Build (backend)
runs-on: ubuntu-latest
needs: change-check
if: needs.change-check.outputs.changed-be == 'true'
defaults:
run:
working-directory: backend
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
cache: gradle
# Disable test until we can mock out the koin components initialized at start
# - name: Build with Gradle
# run: ./gradlew test build --info
# run: ./gradlew build -x test --info
# - name: Publish test report
# uses: ScaCap/action-surefire-report@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# report_paths: "**/build/test-results/test/TEST-*.xml"

build-docker-image-backend:
name: Build Docker image (backend)
runs-on: ubuntu-latest
Expand All @@ -76,6 +49,11 @@ jobs:
# Disable test until we can mock out the koin components initialized at start
# run: ./gradlew test build --info
run: ./gradlew build -x test --info
- name: Publish test report
uses: ScaCap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: "**/build/test-results/test/TEST-*.xml"
- name: Build and push Docker image
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1d256eb

Please sign in to comment.