Files
Anthias/docker-compose.test.yml
Nico Miguelino 83afe40ff1 Bring back test suite runs on GitHub actions (#1616)
- Add a new GitHub workflow for running unit tests.
- Modify existing workflow for building images, so that it will only run if no tests are failing.
- "Comment out" (skip) failing Python unit tests in the meantime. Will be addressed in future PRs.
2022-10-06 00:12:44 +08:00

23 lines
537 B
YAML

version: "2.2"
services:
srly-ose-base:
image: screenly/srly-ose-base:latest-x86
build:
context: .
dockerfile: docker/Dockerfile.base.dev
cache_from:
- screenly/srly-ose-base:latest-x86
srly-ose-test:
image: screenly/srly-ose-server:latest-x86
build:
context: .
dockerfile: docker/Dockerfile.test
cache_from:
- screenly/srly-ose-base:latest-x86
- screenly/srly-ose-server:latest-x86
depends_on:
- srly-ose-base
stdin_open: true
tty: true