Skip to content

Commit

Permalink
Define job for running tests which do not compare against PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Nov 14, 2023
1 parent b95659e commit 4497399
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# https://squidfunk.github.io/mkdocs-material/publishing-your-site/?h=#with-github-actions
name: Deploy Docs
name: Tests
on:
push:
branches:
Expand All @@ -10,7 +9,7 @@ permissions:
contents: write

jobs:
deploy:
compare-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -20,3 +19,13 @@ jobs:
- run: docker compose up -d --wait
- 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"

0 comments on commit 4497399

Please sign in to comment.