TST: add deprecated false negative example #143
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test TorchFix | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test-torchfix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Upgrade build dependencies | |
run: | | |
pip3 install -U pip | |
pip3 install -U setuptools | |
- name: Install TorchFix | |
run: | | |
pip3 install ".[dev]" | |
- name: Run pytest | |
run: | | |
pytest tests | |
- name: Run flake8 | |
run: | | |
flake8 | |
- name: Run mypy | |
run: | | |
mypy . | |
- name: Run black | |
run: | | |
black --check . |