Skip to content

Commit

Permalink
Document pytest-xdist conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Mar 4, 2025
1 parent f1a2bf5 commit 016e6b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
PYTEST_ARGS+=" --ignore=openff/units/_tests/test_openmm.py"
fi
# https://github.com/openforcefield/openff-units/issues/111
python -c "from openff.units import *"
python -m pytest $PYTEST_ARGS $COV openff/units/_tests/
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ Quantity(value=4.0, unit=angstrom) # OpenMM
<Quantity(4.0, 'angstrom')> # OpenFF
```

### Known issues

There is a quirk with cached unit registry definitions that can cause issues when running tests in parallel (i.e. with `pytest-xdist`). See [Issue #111](https://github.com/openforcefield/openff-units/issues/111) for more details.

### Copyright

Copyright (c) 2021, Open Force Field Initiative
Expand Down

0 comments on commit 016e6b3

Please sign in to comment.