diff --git a/.github/workflows/lower-bound-requirements.yml b/.github/workflows/lower-bound-requirements.yml index dddcc87b91..72c9f21fef 100644 --- a/.github/workflows/lower-bound-requirements.yml +++ b/.github/workflows/lower-bound-requirements.yml @@ -18,10 +18,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - name: Install dependencies and force lowest bound run: | python -m pip install --upgrade pip setuptools wheel @@ -29,6 +31,8 @@ jobs: python -m pip --no-cache-dir --quiet install --editable .[test] python -m pip install --requirement lower-bound-requirements.txt python -m pip list + - name: Test with pytest run: | - python -m pytest -r sx --ignore tests/benchmarks/ --ignore tests/contrib --ignore tests/test_notebooks.py + # Run on tests/ to skip doctests of src given examples are for latest APIs + python -m pytest -r sx --ignore tests/benchmarks/ --ignore tests/contrib --ignore tests/test_notebooks.py tests/