Skip to content

Full Testing

Full Testing #104

Workflow file for this run

name: Full Testing
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "0 6 * * *" # Everyday at 6:00am UTC/10:00pm PST
jobs:
pytest:
if: github.repository == 'pyg-team/pytorch_geometric'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.8', '3.10']
torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0, nightly]
include:
- torch-version: 1.11.0
torchvision-version: 0.12.0
- torch-version: 1.12.0
torchvision-version: 0.13.0
- torch-version: 1.13.0
torchvision-version: 0.14.0
- torch-version: 2.0.0
torchvision-version: 0.15.0
- torch-version: nightly
torchvision-version: nightly
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup packages
uses: ./.github/actions/setup
with:
python-version: ${{ matrix.python-version }}
torch-version: ${{ matrix.torch-version }}
torchvision-version: ${{ matrix.torchvision-version }}
- name: Install graphviz
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt-get install graphviz
- name: Install main package
run: |
pip install -e .[full,test]
- name: Run tests
run: |
FULL_TEST=1 pytest --cov --cov-report=xml
shell: bash
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false