a891cb8902
Build, Lint, and Test / Build, Lint, and Test (push) Failing after 1m36s
The docker-compose.ci.yml mounted '.:/app' which works on GitHub Actions (where the workspace is the repo root) but not on Gitea Actions (where the workspace path differs). The built Docker image already has all files from COPY . ./ so the volume mount is unnecessary for CI. Also moved yarn install inside the container and run full test suite.
11 lines
187 B
YAML
11 lines
187 B
YAML
services:
|
|
phx:
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/dev.Dockerfile
|
|
environment:
|
|
- MIX_ENV=test
|
|
ports:
|
|
- '4008:4008'
|
|
command: tail -F /dev/null
|