Skip to content

Commit

Permalink
The test with --pre dependencies is experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jan 12, 2024
1 parent 58e42d9 commit 71519e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/step_tests-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"]
skip: [false]
experimental: [false]
include:
# Test pre-release versions
- python-version: "3.x"
dependency_type: "pre"
skip: true # fails with pytest-8.0.0rc1
experimental: true # fails with pytest-8.0.0rc1
# Test minimum markdown-it-py supported (otherwise the most recent version is used)
- python-version: "3.x"
markdown-it-py: "~=2.0"
Expand All @@ -42,7 +42,6 @@ jobs:
- python-version: "3.x"
quarto: true

if: ${{ !matrix.skip }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -63,6 +62,7 @@ jobs:
- name: Install a Jupyter Kernel
if: ${{ !matrix.no_kernel }}
run: python -m ipykernel install --name python_kernel --user

- name: Uninstall markdown-it-py
# Markdown-it-py is a dependency of Jupytext,
# but Jupytext should still work if it is not installed
Expand All @@ -87,6 +87,7 @@ jobs:
python -m jupyterlab.browser_check
- name: Test with pytest
continue-on-error: experimental
run: pytest -n logical --cov --cov-report=xml

- name: Upload coverage
Expand Down

0 comments on commit 71519e6

Please sign in to comment.