test: νμλΌμΈ μλΉμ€ ν μ€νΈ μ½λ μμ #60
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
dev-build-TEST: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: JDK 21 μ€μ | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '21' | |
- name: νκ²½λ³μ νμΌ μ£Όμ | |
run: | | |
cd module-presentation/src/main/resources | |
echo "${{ secrets.APPLICATION_SECRETS }}" > ./application-secret.properties | |
echo "${{ secrets.DATA }}" > ./data.sql | |
- name: Gradle Wrapper κΆν λΆμ¬ | |
run: chmod +x gradlew | |
- name: λΉλ (Build) | |
run: | | |
./gradlew module-presentation:build -x test | |
shell: bash | |
- name: Gradle ν μ€νΈ | |
run: ./gradlew --info test | |
- name: Test κ²°κ³Ό κ²μ | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
junit_files: '**/build/test-results/test/TEST-*.xml' |