-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (33 loc) ยท 1015 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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'