Skip to content

Commit

Permalink
Temporarily disable snapshot CI tests (#2596)
Browse files Browse the repository at this point in the history
polars forces a downgrade of the typing_extensions library which breaks newer IPython in CI. This temporarily disables these tests until we can sort out a proper fix to unblock other PRs. It also makes sure that these tests run when the CI configuration changes.
  • Loading branch information
wesm authored Apr 1, 2024
1 parent 31ea67f commit 4ead84b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/positron-python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- main
paths:
- '.github/workflows/positron-python-ci.yml'
- 'extensions/positron-python/**'
pull_request:
branches:
- main
paths:
- '.github/workflows/positron-python-ci.yml'
- 'extensions/positron-python/**'


Expand Down Expand Up @@ -196,18 +198,18 @@ jobs:
- os: 'ubuntu-latest'
python: '3.12'
time-elapsed: ''
- os: 'ubuntu-latest'
python: '3.10'
time-elapsed: '3 months'
- os: 'ubuntu-latest'
python: '3.10'
time-elapsed: '6 months'
- os: 'ubuntu-latest'
python: '3.10'
time-elapsed: '9 months'
- os: 'ubuntu-latest'
python: '3.10'
time-elapsed: '1 year'
# - os: 'ubuntu-latest'
# python: '3.10'
# time-elapsed: '3 months'
# - os: 'ubuntu-latest'
# python: '3.10'
# time-elapsed: '6 months'
# - os: 'ubuntu-latest'
# python: '3.10'
# time-elapsed: '9 months'
# - os: 'ubuntu-latest'
# python: '3.10'
# time-elapsed: '1 year'

steps:
- name: Checkout
Expand Down Expand Up @@ -235,7 +237,7 @@ jobs:
run: |
python -m pip config set global.index-url https://packagemanager.posit.co/pypi/${{ env.SNAPSHOT_DATE }}/simple
python -m pip config set global.trusted-host packagemanager.posit.co
python -m pip install --prefer-binary --force-reinstall --no-dependencies -r pythonFiles/positron/data-science-requirements.txt
python -m pip install --prefer-binary --force-reinstall -r pythonFiles/positron/data-science-requirements.txt
- name: Run Positron IPyKernel unit tests
run: pytest pythonFiles/positron
Expand Down

0 comments on commit 4ead84b

Please sign in to comment.