fix : 문제 관련 알림 전송 no session 에러 해결 #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ALGOHUB CI | |
on: | |
pull_request: | |
branches: | |
- develop | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
jobs: | |
run-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup DEV_NAME, CREDENTIAL_NAME, CREDENTIAL_PW | |
run: | | |
echo "DEV_NAME=${{ secrets.DEV_NAME_TEST }}" >> $GITHUB_ENV | |
echo "CREDENTIAL_NAME=${{ secrets.CREDENTIAL_NAME }}" >> $GITHUB_ENV | |
echo "CREDENTIAL_PW=${{ secrets.CREDENTIAL_PW }}" >> $GITHUB_ENV | |
- uses: actions/checkout@v3 | |
- name: JDK 21 Setup | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Test with Gradle | |
uses: gradle/[email protected] | |
with: | |
arguments: -Dspring.profiles.active=dev --info test | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: ${{ always() }} | |
with: | |
files: build/test-results/**/*.xml |