Skip to content

github-actions(deps): bump actions/checkout from 2 to 3 #87

github-actions(deps): bump actions/checkout from 2 to 3

github-actions(deps): bump actions/checkout from 2 to 3 #87

Workflow file for this run

---
name: tests
on: pull_request
permissions:
contents: read
jobs:
test:
name: ${{ matrix.test }}
runs-on: ubuntu-latest
strategy:
matrix:
test: [unit, api]
env:
REDIS_OM_URL: redis://localhost:6379
GITHUB_BASE_URL: http://localhost:4010
steps:
- uses: actions/checkout@v3
- name: Boot compose services
run: docker compose --profile tests up --build --detach
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: 3.11
cache: poetry
- run: poetry install
- name: Run tests
run: poetry run pytest tests/${{ matrix.test }}
- name: Dump logs
run: docker compose --profile tests logs
if: always()