Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip slow CI in nightly runs until failures can be debugged #2004

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
7 changes: 3 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ jobs:
run: |
PYTEST_ARGS+=" --ignore=openff/toolkit/_tests/test_examples.py"
PYTEST_ARGS+=" --ignore=openff/toolkit/_tests/test_links.py"
if [[ "$GITHUB_EVENT_NAME" == "schedule" ]]; then
PYTEST_ARGS+=" -m 'slow or not slow'"
fi

#if [[ "$GITHUB_EVENT_NAME" == "schedule" ]]; then
# PYTEST_ARGS+=" -m 'slow or not slow' "
#fi
python -m pytest --durations=20 $PYTEST_ARGS $COV

- name: Run code snippets in docs
Expand Down
2 changes: 1 addition & 1 deletion openff/toolkit/topology/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ def to_openmm(
(last_residue.name == atom_residue_name)
and (int(last_residue.id) == int(atom_residue_number))
and (last_residue.insertionCode == atom_insertion_code)
and (chain.id == last_chain.id)
and (chain.id == last_chain.id) # type: ignore[union-attr]
):
residue = last_residue
else:
Expand Down