-
-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Python 3.12 for core test (#5909)
- Loading branch information
Showing
7 changed files
with
47 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ env: | |
SETUPTOOLS_ENABLE_FEATURES: "legacy-editable" | ||
DISPLAY: ":99.0" | ||
PYTHONIOENCODING: "utf-8" | ||
MPLBACKEND: "Agg" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
OMP_NUM_THREADS: 1 | ||
OPENBLAS_NUM_THREADS: 1 | ||
|
@@ -63,7 +62,7 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
channel-priority: strict | ||
channels: pyviz/label/dev,conda-forge,nodefaults | ||
envs: "-o flakes -o tests -o examples_tests -o test_ci" | ||
envs: "-o flakes -o tests -o examples_tests -o tests_ci" | ||
cache: true | ||
conda-update: true | ||
id: install | ||
|
@@ -109,7 +108,7 @@ jobs: | |
name: ui_test_suite | ||
python-version: ${{ matrix.python-version }} | ||
channels: pyviz/label/dev,bokeh,conda-forge,nodefaults | ||
envs: "-o recommended -o tests -o build -o test_ci" | ||
envs: "-o recommended -o tests -o build -o tests_ci" | ||
cache: true | ||
playwright: true | ||
id: install | ||
|
@@ -135,7 +134,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
python-version: ['3.11'] | ||
python-version: ['3.12'] | ||
timeout-minutes: 120 | ||
defaults: | ||
run: | ||
|
@@ -144,25 +143,36 @@ jobs: | |
DESC: "Python ${{ matrix.python-version }}, ${{ matrix.os }} core tests" | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
steps: | ||
- uses: holoviz-dev/holoviz_tasks/[email protected] | ||
# Add back when this works on Python 3.12 | ||
# - uses: holoviz-dev/holoviz_tasks/[email protected] | ||
# with: | ||
# name: core_test_suite | ||
# python-version: ${{ matrix.python-version }} | ||
# # channel-priority: strict | ||
# channels: pyviz/label/dev,conda-forge,nodefaults | ||
# envs: "-o tests_core -o tests_ci" | ||
# cache: true | ||
# conda-update: true | ||
# id: install | ||
- uses: actions/checkout@v3 | ||
with: | ||
name: core_test_suite | ||
python-version: ${{ matrix.python-version }} | ||
channel-priority: strict | ||
channels: pyviz/label/dev,conda-forge,nodefaults | ||
envs: "-o tests_core -o test_ci" | ||
cache: true | ||
conda-update: true | ||
id: install | ||
fetch-depth: "100" | ||
- name: Fetch unshallow | ||
run: git fetch --prune --tags --unshallow -f | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.12 | ||
- run: | | ||
python -m pip install -ve '.[tests_core, tests_ci]' | ||
- name: bokeh sampledata | ||
run: | | ||
conda activate test-environment | ||
# conda activate test-environment | ||
bokeh sampledata | ||
- name: Check packages latest version | ||
run: | | ||
conda activate test-environment | ||
# conda activate test-environment | ||
python scripts/check_latest_packages.py | ||
- name: doit test_unit | ||
run: | | ||
conda activate test-environment | ||
# conda activate test-environment | ||
pytest holoviews |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters