Skip to content

Commit 7e664db

Browse files
committed
Add py3.14 tests
1 parent 2bed7da commit 7e664db

2 files changed

Lines changed: 27 additions & 26 deletions

File tree

.github/workflows/cli.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,42 @@ name: CLI
33
on:
44
push:
55
branches:
6-
- master
7-
- testing
6+
- master
7+
- testing
88
jobs:
99
library:
1010
# if: github.event.comment.body == 'test core'
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
14+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
1515
steps:
16-
- run: |
17-
pip install -U polyaxon
16+
- run: |
17+
pip install -U polyaxon
1818
tests:
19-
# if: github.event.comment.body == 'test core'
19+
# if: github.event.comment.body == 'test core'
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
23+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
2424

2525
steps:
26-
- uses: actions/checkout@v4
27-
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v5
29-
with:
30-
python-version: ${{ matrix.python-version }}
31-
- name: Upgrade pip
32-
run: |
33-
which python
34-
python -m pip install --upgrade pip
35-
- name: Install test dependencies
36-
run: pip install -r cli/requirements/test.txt
37-
- name: Install master dependencies
38-
run: pip install -r cli/requirements/master.txt
39-
- name: Install dev libraries
40-
run: export USE_LOCAL_PACKAGES="true" && pip install --upgrade --editable "cli[dev,k8s_async,fsspec,init,sidecar]"
41-
- name: Test with pytest
42-
run: |
43-
cd cli
44-
pytest -vv
26+
- uses: actions/checkout@v4
27+
- name: Set up Python ${{ matrix.python-version }}
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
- name: Upgrade pip
32+
run: |
33+
which python
34+
python -m pip install --upgrade pip
35+
- name: Install test dependencies
36+
run: pip install -r cli/requirements/test.txt
37+
- name: Install master dependencies
38+
run: pip install -r cli/requirements/master.txt
39+
- name: Install dev libraries
40+
run: export USE_LOCAL_PACKAGES="true" && pip install --upgrade --editable "cli[dev,k8s_async,fsspec,init,sidecar]"
41+
- name: Test with pytest
42+
run: |
43+
cd cli
44+
pytest -vv

cli/polyaxon/_cli/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def dashboard(yes, url):
246246
)
247247
def clean_ops(namespace, in_cluster, delete, uuids):
248248
"""clean-ops command."""
249+
# TODO(Operator): Use new correct plural when available
249250
from polyaxon._k8s.custom_resources import operation
250251
from polyaxon._k8s.manager.manager import K8sManager
251252

0 commit comments

Comments
 (0)