Skip to content

update docker compose usage #2222

update docker compose usage

update docker compose usage #2222

Workflow file for this run

name: actions
on: push
jobs:
# https://github.com/pre-commit/action
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set perms
run: chmod -R a+rw api
- name: Build the stack
run: docker compose --env-file ./docker-compose.env build
- name: Test
run: docker compose --env-file ./docker-compose.env run --rm api ./run_tests.sh