Skip to content

Commit

Permalink
Merge pull request #89 from zeus6768/dev/be
Browse files Browse the repository at this point in the history
CI 적용 후 rebase
  • Loading branch information
HoeSeong123 authored Jul 19, 2024
2 parents d08999e + 3f80be1 commit 2e7c172
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 56 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/backend_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Backend CI

on:
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest
env:
build-directory: ./backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Start MySQL
uses: mirromutth/[email protected]
with:
host port: 23306
container port: 3306
mysql version: lts
mysql database: code_zap
mysql root password: woowacourse
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Test with Gradle Wrapper
run: ./gradlew test
working-directory: ${{ env.build-directory }}
56 changes: 0 additions & 56 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 2 additions & 0 deletions backend/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spring:
password: woowacourse
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: create
properties:
Expand Down

0 comments on commit 2e7c172

Please sign in to comment.