-
Notifications
You must be signed in to change notification settings - Fork 41
37 lines (32 loc) · 1.1 KB
/
test.yaml
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
name: Test the package with pytest
on: [push, pull_request, workflow_dispatch]
jobs:
pytest:
name: Test with pytest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
# ubuntu 22.04 has deprecated python 3.6
python-version: [ "3.8", "3.9", "3.10","3.11", "3.12", "3.13"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: 'Build and install easygraph'
# still investigating issues, use the dummy workflow for now
# uses: tddschn/install-easygraph@master
uses: tddschn/install-easygraph/dummy@master
with:
# use current repo
repository: '${{ github.repository }}'
# use current branch
ref: '${{ github.ref }}'
install-pytorch: 'true'
install-lxml: 'true'
extra-modules-to-install: 'optuna torch_scatter torch_geometric'
- uses: actions/checkout@v3
- name: Test with pytest
run: |
pytest --disable-warnings