Skip to content

Commit

Permalink
Fixing github workflow docker-compose fail #100
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-hovhannisyan committed Aug 29, 2024
1 parent 7e1c0cb commit d522675
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_on_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
uses: actions/checkout@v2
# -d でバックグラウンド実行
- name: docker build
run: docker-compose up -d
run: docker compose up -d
# -Tは no TTY への対策
- name: frontend test
run: docker-compose exec -T -e CI=true frontend yarn test
run: docker compose exec -T -e CI=true frontend yarn test
# -Tは no TTY への対策
- name: backend test
run: docker-compose exec -T backend pytest
run: docker compose exec -T backend pytest
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Where Controllers are considered to be in backend, and Views are in frontend.

4. Run Docker Compose.
```sh
docker-compose up
docker-compose up (or on Linux docker compose up)
```

This will start the frontend and backend server automatically.
Expand All @@ -67,7 +67,8 @@ Where Controllers are considered to be in backend, and Views are in frontend.

4. Run Docker Compose.
```sh
docker-compose up
docker-compose up (or on Linux docker compose up)
```

This will start the frontend and backend server automatically.
Expand Down

0 comments on commit d522675

Please sign in to comment.