[Refactor] UserRepository 필드 수정 #14
This file contains hidden or 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: CI with Pytest in Docker | |
| on: | |
| pull_request: | |
| branches: [ "develop", "main" ] | |
| env: | |
| TEST_IMAGE_NAME: xrpedia-user-test | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build the Docker image for Test | |
| id: build-test-image | |
| run: docker build --target tester -t ${{ env.TEST_IMAGE_NAME }} . | |
| - name: Run Test | |
| id: run-test | |
| run: | | |
| docker run --rm \ | |
| -e ENV=local \ | |
| -e MONGODB_URL=mongodb://host.docker.internal:27017/xrpedia \ | |
| ${{ env.TEST_IMAGE_NAME }} |