Skip to content

Commit

Permalink
tox: add mypy-diff testenv
Browse files Browse the repository at this point in the history
Upstream: pytest-dev#6486
  • Loading branch information
blueyed committed Feb 2, 2020
1 parent 4fae405 commit 030e13b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,19 @@ jobs:
run: |
sudo apt-get install pandoc
tox -e publish-gh-release-notes
mypy-diff:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade wheel setuptools tox
- name: tox -e mypy-diff
run: "tox -e mypy-diff"

0 comments on commit 030e13b

Please sign in to comment.