Skip to content

Commit dec5ca0

Browse files
authored
Fixing broken tests in e3nn#437 (e3nn#438)
1 parent e203fa0 commit dec5ca0

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
pip install coveralls
5454
- name: Test with pytest
5555
run: |
56-
coverage run --source=e3nn -m pytest --doctest-modules --ignore=docs/ .
56+
coverage run --source=e3nn -m pytest --doctest-modules --ignore=docs/ --ignore-glob='**/experimental*' tests examples
5757
- name: Upload to coveralls
5858
env:
5959
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

.readthedocs.yml

+11-12
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
# Required
66
version: 2
77

8-
# added following nbsphinx instructions
9-
formats: all
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
1013

1114
# Build documentation in the docs/ directory with Sphinx
1215
sphinx:
13-
configuration: docs/conf.py
16+
configuration: docs/conf.py
1417

15-
# Build documentation with MkDocs
16-
#mkdocs:
17-
# configuration: mkdocs.yml
18-
19-
# Optionally set the version of Python and requirements required to build your docs
18+
# Optionally declare the Python requirements required to build your docs
2019
python:
21-
version: 3.8
22-
install:
23-
- requirements: docs/requirements.txt
24-
system_packages: true # added following nbsphinx instructions
20+
install:
21+
- requirements: docs/requirements.txt
22+
- method: pip
23+
path: .

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jupyter-sphinx
1010
ase
1111

1212
--find-links https://download.pytorch.org/whl/cpu
13-
torch==2.0.0
13+
torch==2.*
1414

1515
--find-links https://data.pyg.org/whl/torch-2.0.0+cpu.html
1616
torch-scatter

0 commit comments

Comments
 (0)