Skip to content

Commit

Permalink
Merge pull request #105 from jdufresne/gha-mypy
Browse files Browse the repository at this point in the history
Run the full test suite on GitHub actions
  • Loading branch information
kjd committed Oct 3, 2021
2 parents 4bfc439 + 7aff89a commit c3383c9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 31 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/python-package.yml
Expand Up @@ -8,12 +8,33 @@ on:
- pull_request

jobs:
build:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- '3.9'

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install mypy
- name: Check types with mypy
run: mypy --strict idna

build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', 'pypy3']

steps:
- uses: actions/checkout@v2
Expand Down
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

0 comments on commit c3383c9

Please sign in to comment.