Skip to content

updates test.yml file to include mypy gh actions #43

updates test.yml file to include mypy gh actions

updates test.yml file to include mypy gh actions #43

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Test
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.7.1"
- "3.8.0"
- "3.9.0"
- "3.10.0"
- "3.11.0"
- "3.12.0"
steps:
- name: Checkout
uses: actions/checkout@4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package and python dependencies
run: |
python -m pip install --upgrade pip
pip install .[ci]
- name: Test
uses: codecov/codecov-action@v4
run: pytest --cov
- name: Run mypy
run: mypy to_file_like_obj