Skip to content

Handle fields with source='*' (fixes #77) #231

Handle fields with source='*' (fixes #77)

Handle fields with source='*' (fixes #77) #231

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
# Explicitly also install tox-gh-actions to prevent tests from using system interpreter
run: pip install '.[test]' tox-gh-actions
- name: Run tox
run: tox
- name: Generate coverage report
run: coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v3
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: pip install '.[dev]'
- name: Run mypy
run: mypy