Skip to content

Commit 7744ffd

Browse files
committed
Removed tests relying on Fortran from the CI workflow
1 parent f845c10 commit 7744ffd

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
4545
- name: Run general pytest suite
4646
run: |
47-
micromamba run -n "${ENV_NAME}" pytest -q -m "not docs_examples"
47+
micromamba run -n "${ENV_NAME}" \
48+
pytest -q -m "not docs_examples" \
49+
--ignore=src/aenet/mlip/tests
4850
4951
docs:
5052
name: Docs
@@ -94,14 +96,10 @@ jobs:
9496
fail-fast: false
9597
matrix:
9698
include:
97-
- notebook: notebooks/example-01-featurization.ipynb
98-
notebook_name: example-01-featurization
9999
- notebook: notebooks/example-04-torch-featurization.ipynb
100100
notebook_name: example-04-torch-featurization
101101
- notebook: notebooks/example-05-torch-training.ipynb
102102
notebook_name: example-05-torch-training
103-
- notebook: notebooks/example-06-torch-inference.ipynb
104-
notebook_name: example-06-torch-inference
105103
- notebook: notebooks/example-07-neighbor-list.ipynb
106104
notebook_name: example-07-neighbor-list
107105

docs/source/dev/docs_examples.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,32 @@ Run the maintained notebook-first examples without mutating tracked notebooks:
5252
mkdir -p /tmp/aenet-doc-notebooks
5353
/Users/aurban/.local/bin/micromamba run -n aenet-torch \
5454
python -m jupyter nbconvert --to notebook --execute \
55-
notebooks/example-01-featurization.ipynb \
55+
notebooks/example-04-torch-featurization.ipynb \
5656
--output-dir /tmp/aenet-doc-notebooks
5757
5858
Repeat the same pattern for:
5959

60-
- ``notebooks/example-04-torch-featurization.ipynb``
6160
- ``notebooks/example-05-torch-training.ipynb``
62-
- ``notebooks/example-06-torch-inference.ipynb``
6361
- ``notebooks/example-07-neighbor-list.ipynb``
6462

6563
This avoids overwriting the source ``.ipynb`` files. Some notebooks still
6664
write side-effect artifacts such as HDF5 files or checkpoints relative to the
6765
notebook directory, so use a disposable worktree or temporary copy when you
6866
need a perfectly clean checkout.
6967

68+
The current base CI notebook set intentionally excludes
69+
``example-01-featurization.ipynb`` and ``example-06-torch-inference.ipynb``
70+
because they still include external Fortran / ASCII-potential workflows that
71+
are not available in the GitHub Actions environment.
72+
7073
CI Coverage
7174
-----------
7275

7376
The repository CI is split into three layers so failures are easy to localize:
7477

7578
- general unit tests: ``pytest -q -m "not docs_examples"``
79+
with ``src/aenet/mlip/tests`` excluded from the base CI environment because
80+
those tests require a configured ``libaenet`` installation
7681
- docs checks: ``pytest -q -m docs_examples`` plus Sphinx doctest and
7782
warning-clean HTML builds
7883
- notebook checks: execution of the maintained notebook-first examples listed

0 commit comments

Comments
 (0)