Add pylint ignore to test_local2global. #34
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: tests | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'l2gv2/**.py' | |
- 'tests/**.py' | |
- 'pyproject.toml' | |
pull_request: | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'l2gv2/**.py' | |
- 'tests/**.py' | |
- 'pyproject.toml' | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python3 -m pip install '.[dev]' --find-links https://data.pyg.org/whl/torch-2.4.1%2Bcpu.html | |
- name: Test with pytest | |
run: | | |
python3 -m pytest --ignore tests/test_local2global.py |