forked from pyg-team/pytorch_geometric
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.03 KB
/
examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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