Update numpy requirement from ~=2.1 to ~=2.2 #286
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
torch: | |
- '2.4' | |
name: Python ${{ matrix.python }}, Torch ${{ matrix.torch }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: pip3 install -r requirements.txt | |
- name: Install torch | |
run: pip3 install --upgrade torch~=${{ matrix.torch }} | |
- name: Run Black | |
run: black . --check | |
- name: Run pyright | |
uses: jakebailey/[email protected] | |
- name: Run pytest | |
run: | | |
export PYTHONPATH=$(pwd) | |
pytest test |