[fix] : bookmark 카운트가 bookmark한 대상에게 증가하는 버그 수정 #181
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: e2e test | |
on: | |
pull_request: | |
branches: | |
- main | |
- stage | |
- release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: docker setup | |
uses: docker-practice/actions-setup-docker@master | |
- name: docker network setup | |
run: docker network create e2e-net | |
- name: run dbms | |
run: docker run --rm -it --name database --network e2e-net -e MYSQL_ROOT_PASSWORD=0000 -e MYSQL_DATABASE=luffy -d mysql:8.0.33 | |
- name: build nalab-server | |
run: ./gradlew clean build | |
- name: build nalab-server-docker-image | |
run: docker build --tag luffy:e2e --build-arg DB_URL=jdbc:mysql://database:3306/luffy --build-arg DB_USERNAME=root --build-arg DB_PASSWORD=0000 --build-arg JWT_SECRET=fore2e . | |
- name: run nalab-server | |
run: docker run --rm -it --name nalab-server --network e2e-net -d luffy:e2e | |
- name: build hurl image | |
run: docker build --tag hurl:e2e support/e2e/ | |
- name: e2e test | |
run: docker run --rm --network e2e-net hurl:e2e |