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

[DNM] Try to reproduce scheduled CI errors #2004

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,24 @@ jobs:
if: ${{ matrix.rdkit == true && matrix.openeye == true }}
run: pytest -r fE --tb=short openff/toolkit/_tests/test_links.py

- name: Run mypy
#- name: Run mypy
# Subtle differences in Python/mypy versions, just keep it passing on one.
# When possible re-enable this with OE+RDK=True, but for now rdkit builds often have bugs
# in stubs and there are other subtleties (in the source code and builds) that reduce the number
# of available builds.
# See ex https://github.com/rdkit/rdkit/issues/7221
if: ${{ matrix.rdkit == false && matrix.openeye && matrix.python-version == 3.10 }}
run: mypy -p "openff.toolkit"
#if: ${{ matrix.rdkit == false && matrix.openeye && matrix.python-version == 3.10 }}
#run: mypy -p "openff.toolkit"

- name: Run unit tests
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
echo $PYTEST_ARGS
echo $COV
python -m pytest --durations=20 $PYTEST_ARGS $COV

- name: Run code snippets in docs
Expand Down
Loading