Skip to content

ReDKG: fix dependencies and add new tests #65

ReDKG: fix dependencies and add new tests

ReDKG: fix dependencies and add new tests #65

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python # Set Python version
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install pip and pytest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov wheel
pip install git+https://github.com/pyg-team/pytorch_geometric.git
pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --extra-index-url https://download.pytorch.org/whl/cpu
pip install .
- name: Test with pytest
run: |
pytest tests --cov=./redkg --cov-report xml