Skip to content

Amend all usage of docker-compose to be docker compose #703

Amend all usage of docker-compose to be docker compose

Amend all usage of docker-compose to be docker compose #703

name: Unit tests
on:
push:
branches:
- "main"
pull_request:
jobs:
test-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12" # matches current Python in production
- name: "Run Python tests (on Docker)"
run: |
make clean test-ci
CONTAINER_ID=$(docker ps -alq)
docker cp $CONTAINER_ID:/app/python_coverage .
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
files: python_coverage/coverage.xml
verbose: true # optional (default = false)