diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 108edf8ed..ecd15809d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index c7f89eee8..38427f935 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -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 @@ -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