Skip to content

Full Testing

Full Testing #110

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:
full_pytest:
if: github.repository == 'pyg-team/pytorch_geometric'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
python-version: ['3.9', '3.10']
torch-version: [1.13.0, 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.4.0, nightly]
include:
- torch-version: 1.13.0
torchvision-version: 0.14.0
- torch-version: 2.0.0
torchvision-version: 0.15.0
- torch-version: 2.1.0
torchvision-version: 0.16.0
- torch-version: 2.2.0
torchvision-version: 0.17.0
- torch-version: 2.3.0
torchvision-version: 0.18.0
- torch-version: 2.4.0
torchvision-version: 0.19.0
- torch-version: nightly
torchvision-version: nightly
exclude:
- os: macos-14
torch-version: 1.13.0
- os: macos-14
torch-version: 2.0.0
- os: macos-14
torch-version: 2.1.0
- os: macos-14
torch-version: 2.2.0
# TODO Some dependency version conflict lets pytest crash on Windows/3.10/2.4.0
- os: windows-latest
python-version: '3.10'
torch-version: 2.4.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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 mpmath
if: ${{ matrix.torch-version == 'nightly' }}
run: |
pip install mpmath==1.3.0
- name: Install main package
run: |
pip install -e .[full,test]
- name: Run tests
timeout-minutes: 20
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