Skip to content

Bump mypy from 1.5.1 to 1.7.0 #49

Bump mypy from 1.5.1 to 1.7.0

Bump mypy from 1.5.1 to 1.7.0 #49

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test-py39:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest typing_extensions
python -m pip install .
- name: Test with pytest
run: |
pytest -vvs
test-py310:
runs-on: ubuntu-latest
needs: test-py39
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov typing_extensions
python -m pip install .
- name: Test with pytest
run: |
pytest --cov-config=.coveragerc --cov-report xml:coverage.xml --cov=cain -vvs tests/
- name: Upload Coverage report
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml