Skip to content

Commit f0bb39b

Browse files
committed
fix CI testing environment
1 parent a3cab4b commit f0bb39b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
path: netobs
1414
- uses: actions/checkout@v4
1515
with:
16-
repository: AllanChain/deepsolid
17-
ref: update-with-force
16+
repository: bytedance/deepsolid
17+
ref: b1abaf5212e1bfe1ce01257a81bc63b820efc4d4
1818
path: deepsolid
1919
- uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.9'
2222
- name: Install
2323
run: |
24-
pip install -e deepsolid scipy==1.8.0
2524
pip install 'jax[cpu]'==0.2.26 -f https://storage.googleapis.com/jax-releases/jax_releases.html
25+
pip install -e deepsolid opt_einsum==3.3.0
2626
pip install -e 'netobs[dev]'
2727
- name: Test
2828
working-directory: netobs
@@ -36,14 +36,15 @@ jobs:
3636
- uses: actions/checkout@v4
3737
with:
3838
repository: google-deepmind/ferminet
39+
ref: 9a1deec8222c1838c5aafb65830fc41372c48677
3940
path: ferminet
4041
- uses: actions/setup-python@v5
4142
with:
42-
python-version: '3.10'
43+
python-version: '3.11'
4344
- name: Install
4445
run: |
46+
pip install jax==0.4.35
4547
pip install -e ferminet
46-
pip install 'jax[cpu]'==0.4.24 -f https://storage.googleapis.com/jax-releases/jax_releases.html
4748
pip install -e 'netobs[dev]'
4849
- name: Test
4950
working-directory: netobs

tests/cli_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import pytest
1616

17-
from netobs.cli import make_cli
17+
from netobs.cli import cli
1818

1919
try:
2020
from netobs.adaptors.ferminet_vmc import FERMINET_VERSION
@@ -29,7 +29,6 @@
2929
reason="FermiNet main is required to test it",
3030
)
3131
def test_cli():
32-
cli = make_cli()
3332
cli(
3433
[
3534
"@ferminet_vmc",

0 commit comments

Comments
 (0)