Skip to content

Commit f9a9050

Browse files
committed
Try again
1 parent 66b9305 commit f9a9050

File tree

4 files changed

+76
-29
lines changed

4 files changed

+76
-29
lines changed

.github/workflows/benchmark.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,30 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v5
16+
- name: Checkout project
17+
id: checkout
18+
uses: actions/checkout@v5
1719

18-
- name: Set up Python with uv
19-
uses: astral-sh/setup-uv@v6
20+
- name: Set up Python 3.13
21+
id: setup-python
22+
uses: actions/setup-python@v6
2023
with:
2124
python-version: "3.13"
25+
architecture: x64
26+
27+
- name: Install uv
28+
id: setup-uv
29+
uses: astral-sh/setup-uv@v6
30+
with:
31+
enable-cache: true
2232

2333
- name: Install tox
34+
id: install-tox
2435
run: |
2536
uv pip install tox tox-uv
2637
2738
- name: Run benchmarks with CodSpeed
39+
id: run-benchmarks
2840
uses: CodSpeedHQ/action@v4
2941
with:
3042
mode: instrumentation

.github/workflows/lint.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,29 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v5
11+
- name: Checkout project
12+
id: checkout
13+
uses: actions/checkout@v5
1214

13-
- name: Set up Python with uv
15+
- name: Set up Python 3.13
16+
id: setup-python
17+
uses: actions/setup-python@v6
18+
with:
19+
python-version: "3.13"
20+
21+
- name: Install uv
22+
id: setup-uv
1423
uses: astral-sh/setup-uv@v6
1524
with:
16-
python-version: '3.13'
25+
enable-cache: true
1726

1827
- name: Install tox
28+
id: install-tox
1929
run: |
2030
uv pip install tox tox-uv
2131
2232
- name: Run code quality tests with tox
33+
id: lint
2334
run: tox
2435
env:
2536
TOXENV: ruff,mypy,docs

.github/workflows/publish.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,28 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v5
14+
- name: Checkout project
15+
id: checkout
16+
uses: actions/checkout@v5
1517

16-
- name: Set up Python with uv
18+
- name: Set up Python 3.13
19+
id: setup-python
20+
uses: actions/setup-python@v6
21+
with:
22+
python-version: "3.13"
23+
24+
- name: Install uv
25+
id: setup-uv
1726
uses: astral-sh/setup-uv@v6
1827
with:
19-
python-version: '3.13'
28+
enable-cache: true
2029

2130
- name: Build wheel and source tarball with uv
31+
id: build
2232
run: uv build
33+
2334
- name: Publish a Python distribution to PyPI
35+
id: publish
2436
uses: pypa/gh-action-pypi-publish@release/v1
2537
with:
2638
user: __token__

.github/workflows/test.yml

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ jobs:
1212
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- name: Checkout project
16+
id: checkout
17+
uses: actions/checkout@v5
1618

17-
- name: Set up CPython with uv
18-
if: ${{ !contains(matrix.python-version, 'pypy') }}
19-
uses: astral-sh/setup-uv@v6
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
23-
- name: Set up PyPy without uv
24-
if: ${{ contains(matrix.python-version, 'pypy') }}
19+
- name: Set up Python ${{ matrix.python-version }}
20+
id: setup-python
2521
uses: actions/setup-python@v6
2622
with:
2723
python-version: ${{ matrix.python-version }}
2824

29-
- name: Set up uv for PyPy
30-
if: ${{ contains(matrix.python-version, 'pypy') }}
25+
- name: Install uv
26+
id: setup-uv
3127
uses: astral-sh/setup-uv@v6
28+
with:
29+
enable-cache: true
3230

3331
- name: Install tox and plugins
32+
id: install-tox
3433
run: |
35-
uv pip install tox tox-gh-actions tox-uv
34+
uv pip install tox tox-uv tox-gh-actions
3635
3736
- name: Run unit tests with tox
37+
id: test
3838
run: tox
3939

4040
tests-old:
@@ -46,24 +46,36 @@ jobs:
4646
python-version: ['3.7', '3.8']
4747

4848
steps:
49-
- uses: actions/checkout@v5
49+
- name: Checkout project
50+
id: checkout
51+
uses: actions/checkout@v5
5052

51-
- name: Set up target Python ${{ matrix.python-version }} (for tox discovery)
53+
- name: Set up Python 3.13 (tox runner)
54+
id: setup-python
5255
uses: actions/setup-python@v6
5356
with:
54-
python-version: ${{ matrix.python-version }}
57+
python-version: '3.13'
5558

56-
- name: Set up Python 3.13 (tox runner) with uv
59+
- name: Install uv
60+
id: setup-uv
5761
uses: astral-sh/setup-uv@v6
5862
with:
59-
python-version: '3.13'
63+
enable-cache: true
6064

61-
- name: Install tox and plugins (with Python 3.13)
65+
- name: Install tox and plugins
66+
id: install-tox
6267
run: |
63-
uv pip install tox tox-gh-actions tox-uv
68+
uv pip install tox tox-uv tox-gh-actions
69+
70+
- name: Set up target Python ${{ matrix.python-version }}
71+
id: setup-target-python
72+
uses: actions/setup-python@v6
73+
with:
74+
python-version: ${{ matrix.python-version }}
6475

6576
- name: Run unit tests with tox for target
77+
id: test
6678
shell: bash
6779
run: |
6880
ENV="py${{ matrix.python-version }}"; ENV=${ENV/./}
69-
python -m tox -e "$ENV"
81+
python3.13 -m tox -e "$ENV"

0 commit comments

Comments
 (0)