Skip to content

Merge pull request #1471 from dandi/unbreak-vcrpy #2720

Merge pull request #1471 from dandi/unbreak-vcrpy

Merge pull request #1471 from dandi/unbreak-vcrpy #2720

Workflow file for this run

name: Type-check
on:
- push
- pull_request
jobs:
typing:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
# <https://github.com/kevin1024/vcrpy/issues/855>
# <https://github.com/pypa/setuptools/issues/4519>
- name: Unbreak vcrpy install
run: |
echo 'setuptools<72' > /tmp/pip-constraint.txt
echo PIP_CONSTRAINT=/tmp/pip-constraint.txt >> "$GITHUB_ENV"
- name: Run type checker
run: tox -e typing