Skip to content

Merge pull request #12 from tfeldmann/dependabot/github_actions/actio… #58

Merge pull request #12 from tfeldmann/dependabot/github_actions/actio…

Merge pull request #12 from tfeldmann/dependabot/github_actions/actio… #58

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
env:
USING_COVERAGE: "3.9"
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest mypy
- name: Run pytest
run: |
pytest
- name: Run mypy
run: |
mypy .