@@ -61,14 +61,14 @@ jobs:
6161 - { python: '3.14', resolution: highest }
6262 model :
6363 - { name: fairchem, test_path: "tests/models/test_fairchem.py" }
64- - { name: fairchem-legacy, test_path: "tests/models/test_fairchem_legacy.py" }
6564 - { name: graphpes, test_path: "tests/models/test_graphpes_framework.py" }
6665 - { name: mace, test_path: "tests/models/test_mace.py" }
6766 - { name: mace, test_path: "tests/test_elastic.py" }
6867 - { name: mace, test_path: "tests/test_optimizers_vs_ase.py" }
6968 - { name: mattersim, test_path: "tests/models/test_mattersim.py" }
7069 - { name: metatomic, test_path: "tests/models/test_metatomic.py" }
7170 - { name: nequip, test_path: "tests/models/test_nequip_framework.py" }
71+ - { name: nequix, test_path: "tests/models/test_nequix.py" }
7272 - { name: orb, test_path: "tests/models/test_orb.py" }
7373 - { name: sevenn, test_path: "tests/models/test_sevennet.py" }
7474 exclude :
7777 - version : { python: '3.14', resolution: highest }
7878 model : { name: fairchem, test_path: 'tests/models/test_fairchem.py'}
7979 - version : { python: '3.14', resolution: highest }
80- model : { name: fairchem-legacy, test_path: 'tests/models/test_fairchem_legacy.py'}
8180 - version : { python: '3.14', resolution: highest }
8281 model : { name: nequip, test_path: 'tests/models/test_nequip_framework.py'}
8382 runs-on : ${{ matrix.os }}
8685 - name : Check out repo
8786 uses : actions/checkout@v4
8887
89- - name : Check out fairchem repository
90- if : ${{ matrix.model.name == 'fairchem-legacy' }}
91- uses : actions/checkout@v4
92- with :
93- repository : FAIR-Chem/fairchem
94- path : fairchem-repo
95- ref : fairchem_core-1.10.0
96-
9788 - name : Set up Python
9889 uses : actions/setup-python@v5
9990 with :
@@ -106,22 +97,7 @@ jobs:
10697 - name : Set up uv
10798 uses : astral-sh/setup-uv@v6
10899
109- - name : Install legacy fairchem repository and dependencies
110- if : ${{ matrix.model.name == 'fairchem-legacy' }}
111- run : |
112- if [ -f fairchem-repo/packages/requirements.txt ]; then
113- uv pip install -r fairchem-repo/packages/requirements.txt --system
114- fi
115- if [ -f fairchem-repo/packages/requirements-optional.txt ]; then
116- uv pip install -r fairchem-repo/packages/requirements-optional.txt --system
117- fi
118- uv pip install -e fairchem-repo/packages/fairchem-core[dev] --system
119- uv pip install -e "." --no-deps --system
120- uv pip install "h5py>=3.12.1" "numpy>=1.26,<3" "scipy<1.17.0" "tables>=3.10.2" "torch>=2" "tqdm>=4.67" --system
121- uv pip install "ase>=3.26" "phonopy>=2.37.0" "psutil>=7.0.0" "pymatgen>=2025.6.14" "pytest-cov>=6" "pytest>=8" --resolution=${{ matrix.version.resolution }} --system
122-
123100 - name : Install torch_sim with model dependencies
124- if : ${{ matrix.model.name != 'fairchem-legacy' }}
125101 run : |
126102 # setuptools <82 provides pkg_resources needed by mattersim and fairchem (via torchtnt).
127103 # setuptools 82+ removed pkg_resources. Remove pin once those packages migrate.
@@ -154,7 +130,7 @@ jobs:
154130 - name : Find example scripts
155131 id : set-matrix
156132 run : |
157- EXAMPLES=$(find examples -name "*.py" | jq -R -s -c 'split("\n")[:-1]')
133+ EXAMPLES=$(find examples -name "*.py" -not -path "examples/benchmarking/*" | jq -R -s -c 'split("\n")[:-1]')
158134 echo "examples=$EXAMPLES" >> $GITHUB_OUTPUT
159135
160136 test-examples :
0 commit comments