Skip to content

⬆️ Update pytest-html requirement from ^3.1.1 to ^4.0.1 #15

⬆️ Update pytest-html requirement from ^3.1.1 to ^4.0.1

⬆️ Update pytest-html requirement from ^3.1.1 to ^4.0.1 #15

Workflow file for this run

name: build_windows
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Set up cache
uses: actions/[email protected]
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy
if exist requirements.txt pip install -r requirements.txt
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py39 pytorch_finufft
# default set of ruff rules with GitHub Annotations
ruff --format=github --target-version=py37 pytorch_finufft
- name: Lint with mypy
run: |
mypy pytorch_finufft