Skip to content

[refactor] : login된 유저 조회 api가 email을 함께 반환하도록 수정 #186

[refactor] : login된 유저 조회 api가 email을 함께 반환하도록 수정

[refactor] : login된 유저 조회 api가 email을 함께 반환하도록 수정 #186

Workflow file for this run

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