Make gnn_node.py constitent with gnn_link.py #858
Workflow file for this run
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: Full Testing | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
pytest: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.8] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ inputs.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ inputs.python-version }} | |
- name: Install PyTorch | |
run: | | |
pip install torch==2.3.0 --extra-index-url https://download.pytorch.org/whl/cpu | |
pip install --no-index pyg-lib==0.4.0 -f https://data.pyg.org/whl/torch-2.3.0+cpu.html | |
- name: Install main package | |
run: | | |
pip install .[full,test] | |
- name: Run tests | |
run: | | |
pytest |