Skip to content

Commit

Permalink
build: mysql action 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Nov 6, 2023
1 parent b394d74 commit 53f6d2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jobs:

steps:
- name: Setup MySQL
uses: mirromutth/mysql-action@v1.1
uses: samin/mysql-action@v1
with:
host port: 20000
container port: 3306
character set server: 'utf8mb4'
collation server: 'utf8mb4_general_ci'
mysql version: '8.0'
mysql database: 'busan'
mysql root password: password
mysql database: busan
mysql user: root
mysql password: password
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;

import java.util.Optional;

import static org.assertj.core.api.Assertions.assertThat;

@DataJpaTest
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
class MemberRepositoryTest {

@Autowired
Expand Down

0 comments on commit 53f6d2f

Please sign in to comment.