Skip to content

[BE] pr test 리포트 발행 test #21

[BE] pr test 리포트 발행 test

[BE] pr test 리포트 발행 test #21

name: backend-pull-request
on:
pull_request:
branches: [ "main", "develop", "feature/#55" ]
paths:
- 'server/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
permissions:
contents: read
steps:
- name: CheckOut
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Test with Gradle Wrapper
run: ./gradlew clean build
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }}
with:
files: build/test-results/**/*.xml