Skip to content

Merge pull request #1 from telekom-mms/renovate/configure #9

Merge pull request #1 from telekom-mms/renovate/configure

Merge pull request #1 from telekom-mms/renovate/configure #9

Workflow file for this run

---
name: tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 6 * * 0'
jobs:
tests:
name: Run tests (py${{ matrix.python }})
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run python -m pytest -v tests/