Skip to content

fixed github actions #11

fixed github actions

fixed github actions #11

Workflow file for this run

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/