Examples #3
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: Examples | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
schedule: | |
- cron: "0 7 * * *" # Everyday at 7:00am UTC/11:00pm PST | |
jobs: | |
pytest: | |
if: github.repository == 'pyg-team/pytorch_geometric' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup packages | |
uses: ./.github/actions/setup | |
- name: Install main package | |
run: | | |
pip install .[benchmark] | |
- name: Run GCN on Cora | |
run: | | |
python examples/gcn.py --wandb | |
env: | |
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }} | |
- name: Run GAT on Cora | |
run: | | |
python examples/gat.py --wandb | |
env: | |
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }} | |
- name: Run GIN on MUTAG | |
run: | | |
python examples/mutag_gin.py --wandb | |
env: | |
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }} | |
- name: Run GNNExplainer | |
run: | | |
python examples/explain/gnn_explainer.py |