0.18.3 #12
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: Run Unit Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install -U pip | |
pip install poetry wheel | |
pip install torch==2.2.0+cpu --index-url https://download.pytorch.org/whl/cpu | |
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.2.0+cpu.html | |
pip install torch-geometric>=2.4.0 -f https://data.pyg.org/whl/torch-2.2.0+cpu.html | |
pip install --no-build-isolation . | |
- name: Lint with Ruff | |
run: | | |
pip install ruff | |
ruff check --fix . | |
- name: Run tests | |
run: | | |
pip install pytest | |
pytest tests/ |