Skip to content

Commit

Permalink
Fix docker compose service name
Browse files Browse the repository at this point in the history
  • Loading branch information
tfwright committed Dec 31, 2023
1 parent 341f8a8 commit 03bbaaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
_build
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Get deps
run: docker-compose run web mix deps.get
run: docker-compose run app mix deps.get
- name: Check for uncommitted changes
run: exit $( git status --porcelain | head -255 | wc -l )
- name: Run tests
run: docker-compose run -e MIX_ENV=test web mix do compile --warnings-as-errors, test
run: docker-compose run -e MIX_ENV=test app mix do compile --warnings-as-errors, test
- name: Check dev
run: docker-compose up --wait
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"

services:
web:
app:
build: '.'
ports:
- "4000:4000"
Expand Down

0 comments on commit 03bbaaf

Please sign in to comment.