Skip to content

Background building the python-api image #13

Background building the python-api image

Background building the python-api image #13

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- test/ci
permissions:
contents: write
jobs:
compare-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: docker compose up -d python-api &
- run: docker compose up -d --wait php-api
- run: docker container ls
- run: docker exec python-api python -m pytest -xv -m "php"
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: docker compose up -d --wait database python-api
- run: docker container ls
- run: docker exec python-api python -m pytest -xv -m "not php"