Skip to content

Commit

Permalink
Fix : test schema 파일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Astin01 committed Sep 18, 2024
1 parent 82aed7d commit 6cc2c1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
echo "${{ secrets.APPLICATION_LOCAL }}" > ./src/main/resources/application-local.yml
echo "${{ secrets.APPLICATION_TEST }}" > ./src/main/resources/application-test.yml
# - name: sql 파일 만들기
# run: |
# echo "${{ secrets.SCHEMA }}" > ./src/main/resources/schema.sql
- name: sql 파일 만들기
run: |
echo "${{ secrets.TEST_SCHEMA }}" > ./src/main/resources/test_schema.sql
# echo "${{ secrets.CATEGORY }}" > ./src/main/resources/category.sql
# echo "${{ secrets.GATHERING_CATEGORY }}" > ./src/main/resources/gathering_category.sql
# echo "${{ secrets.ZONE_CATEGORY }}" > ./src/main/resources/zone_category.sql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package solitour_backend.solitour;

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

@SpringBootTest
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.ANY)
@ActiveProfiles("test")
class SolitourApplicationTests {

Expand Down

0 comments on commit 6cc2c1d

Please sign in to comment.