Skip to content

Commit 5b835f1

Browse files
committed
chore(build): disable twine check
1 parent 67e9df2 commit 5b835f1

File tree

3 files changed

+87
-115
lines changed

3 files changed

+87
-115
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,17 @@ jobs:
3232
path: dist/*.tar.gz
3333

3434
build-wheels-standard:
35-
name: Std ${{ matrix.os }} py${{ matrix.python-version }}
36-
strategy:
37-
fail-fast: false
38-
matrix:
39-
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
40-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
41-
exclude:
42-
- os: macos-13
43-
python-version: "3.13"
44-
- os: windows-latest
45-
python-version: "3.9"
46-
47-
runs-on: ${{ matrix.os }}
35+
name: Build standard pure Python wheel
36+
runs-on: ubuntu-latest
4837
steps:
4938
- name: Check out repository
5039
uses: actions/checkout@v4
5140

5241
- name: Install uv
5342
uses: astral-sh/setup-uv@v4
5443

55-
- name: Set up Python ${{ matrix.python-version }}
56-
run: uv python install ${{ matrix.python-version }}
44+
- name: Set up Python 3.12
45+
run: uv python install 3.12
5746

5847
- name: Install dependencies
5948
run: uv sync --extra performance --group build
@@ -64,7 +53,7 @@ jobs:
6453
- name: Upload wheel artifacts
6554
uses: actions/upload-artifact@v4
6655
with:
67-
name: wheels-standard-${{ matrix.os }}-py${{ matrix.python-version }}
56+
name: wheels-standard
6857
path: dist/*.whl
6958

7059
build-wheels-mypyc:
@@ -132,7 +121,7 @@ jobs:
132121
- name: Download standard wheel artifacts
133122
uses: actions/download-artifact@v4
134123
with:
135-
name: wheels-standard-${{ matrix.os }}-py${{ matrix.python-version }}
124+
name: wheels-standard
136125
path: dist-standard/
137126

138127
- name: Download mypyc wheel artifacts
@@ -182,11 +171,6 @@ jobs:
182171
find dist/ -name "*.whl" | wc -l
183172
find dist/ -name "*.tar.gz" | wc -l
184173
185-
- name: Verify package integrity
186-
run: |
187-
uv tool install twine
188-
uv tool run twine check dist/*
189-
190174
- name: Publish package distributions to PyPI
191175
uses: pypa/gh-action-pypi-publish@release/v1
192176
with:

.github/workflows/test-build.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,17 @@ jobs:
4343
path: dist/*.tar.gz
4444

4545
build-wheels-standard:
46-
name: Std ${{ matrix.os }} py${{ matrix.python-version }}
47-
strategy:
48-
fail-fast: false
49-
matrix:
50-
os: ${{ github.event.inputs.test_matrix == 'full' && fromJSON('["ubuntu-latest", "windows-latest", "macos-latest", "macos-13"]') || fromJSON('["ubuntu-latest"]') }}
51-
python-version: ${{ github.event.inputs.test_matrix == 'full' && fromJSON('["3.9", "3.10", "3.11", "3.12", "3.13"]') || fromJSON('["3.12"]') }}
52-
exclude:
53-
- os: macos-13
54-
python-version: "3.13"
55-
- os: windows-latest
56-
python-version: "3.9"
57-
58-
runs-on: ${{ matrix.os }}
46+
name: Build standard pure Python wheel
47+
runs-on: ubuntu-latest
5948
steps:
6049
- name: Check out repository
6150
uses: actions/checkout@v4
6251

6352
- name: Install uv
6453
uses: astral-sh/setup-uv@v4
6554

66-
- name: Set up Python ${{ matrix.python-version }}
67-
run: uv python install ${{ matrix.python-version }}
55+
- name: Set up Python 3.12
56+
run: uv python install 3.12
6857

6958
- name: Install dependencies
7059
run: uv sync --extra performance --group build
@@ -75,7 +64,7 @@ jobs:
7564
- name: Upload wheel artifacts
7665
uses: actions/upload-artifact@v4
7766
with:
78-
name: wheels-standard-${{ matrix.os }}-py${{ matrix.python-version }}
67+
name: wheels-standard
7968
path: dist/*.whl
8069

8170
build-wheels-mypyc:
@@ -143,7 +132,7 @@ jobs:
143132
- name: Download standard wheel artifacts
144133
uses: actions/download-artifact@v4
145134
with:
146-
name: wheels-standard-${{ matrix.os }}-py${{ matrix.python-version }}
135+
name: wheels-standard
147136
path: dist-standard/
148137

149138
- name: Download mypyc wheel artifacts
@@ -186,8 +175,3 @@ jobs:
186175
echo "=== Package count ==="
187176
find dist/ -name "*.whl" | wc -l
188177
find dist/ -name "*.tar.gz" | wc -l
189-
190-
- name: Verify package integrity
191-
run: |
192-
uv tool install twine
193-
uv tool run twine check dist/*

0 commit comments

Comments
 (0)