Skip to content

Commit

Permalink
DO NOT MERGE: Debug pytest 8 compat
Browse files Browse the repository at this point in the history
Disable --pre

Force pytest to install from debug branch

Stick to 8.0,  not 8.1
  • Loading branch information
pllim committed Jan 8, 2024
1 parent 03edac6 commit 4f8bdd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/predeps_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
schedule:
# run at 9am UTC on Tuesdays
- cron: '0 9 * * 2'
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,6 +21,7 @@ jobs:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:

Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@ extras =
commands =
# Force numpy-dev after matplotlib downgrades it (https://github.com/matplotlib/matplotlib/issues/26847)
devdeps: python -m pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
# DEBUG pytest
predeps: python -m pip install --pre --upgrade git+https://github.com/pllim/[email protected]
jupyter --paths
pip freeze
!cov: pytest --pyargs jdaviz {toxinidir}/docs {posargs}
cov: pytest --pyargs jdaviz {toxinidir}/docs --cov jdaviz --cov-config={toxinidir}/pyproject.toml {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

pip_pre =
predeps: true
predeps: false
!predeps: false

[testenv:linkcheck]
Expand Down

0 comments on commit 4f8bdd2

Please sign in to comment.