Skip to content

Commit

Permalink
Make test invokation more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Feb 5, 2024
1 parent eeca606 commit 990d386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:

env:
OE_LICENSE: ${{ github.workspace }}/oe_license.txt
PACKAGE: openff
PYTEST_ARGS: -r fE --tb=short -nauto
COV: --cov=openff/toolkit --cov-config=setup.cfg --cov-append --cov-report=xml

Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ jobs:
openeye: ["true", "false"]

env:
CI_OS: ${{ matrix.os }}
OPENEYE: ${{ matrix.openeye }}
PYVER: ${{ matrix.python-version }}
OE_LICENSE: ${{ github.workspace }}/oe_license.txt
PACKAGE: openff-toolkit
PYTEST_ARGS: -r fE --tb=short -nauto

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -107,16 +105,14 @@ jobs:
- name: Test the package
run: |
python -m pip install utilities/test_plugins
pwd
ls
python -m pip install utilities/test_plugins/
if [[ "$OPENEYE" == true ]]; then
python -c "import openff.toolkit; print(openff.toolkit.__file__)"
python -c "import openeye; print(openeye.oechem.OEChemIsLicensed())"
fi
PYTEST_ARGS=" -r fE --tb=short --runslow openff/toolkit/_tests/conftest.py"
PYTEST_ARGS+=" --runslow"
PYTEST_ARGS+=" --ignore=openff/toolkit/_tests/test_links.py"
pytest $PYTEST_ARGS openff
python -m pytest $PYTEST_ARGS $COV

0 comments on commit 990d386

Please sign in to comment.