mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Test on Python 3.14 (#12710)
This commit is contained in:
20
.github/workflows/project_euler.yml
vendored
20
.github/workflows/project_euler.yml
vendored
@@ -14,21 +14,37 @@ jobs:
|
||||
project-euler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run:
|
||||
sudo apt-get update && sudo apt-get install -y libtiff5-dev libjpeg8-dev libopenjp2-7-dev
|
||||
zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk
|
||||
libharfbuzz-dev libfribidi-dev libxcb1-dev
|
||||
libxml2-dev libxslt-dev
|
||||
libhdf5-dev
|
||||
libopenblas-dev
|
||||
- uses: actions/checkout@v5
|
||||
- uses: astral-sh/setup-uv@v6
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: 3.x
|
||||
python-version: 3.14
|
||||
allow-prereleases: true
|
||||
- run: uv sync --group=euler-validate --group=test
|
||||
- run: uv run pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=project_euler/ project_euler/
|
||||
validate-solutions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run:
|
||||
sudo apt-get update && sudo apt-get install -y libtiff5-dev libjpeg8-dev libopenjp2-7-dev
|
||||
zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk
|
||||
libharfbuzz-dev libfribidi-dev libxcb1-dev
|
||||
libxml2-dev libxslt-dev
|
||||
libhdf5-dev
|
||||
libopenblas-dev
|
||||
- uses: actions/checkout@v5
|
||||
- uses: astral-sh/setup-uv@v6
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: 3.x
|
||||
python-version: 3.14
|
||||
allow-prereleases: true
|
||||
- run: uv sync --group=euler-validate --group=test
|
||||
- run: uv run pytest scripts/validate_solutions.py
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user