Skip to content

Commit ebbfcf3

Browse files
committed
Validate PolyStore artifacts before release
1 parent d21aa4e commit ebbfcf3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11+
distribution:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
15+
steps:
16+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
17+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
18+
with:
19+
python-version: "3.12"
20+
- name: Install distribution validators
21+
run: python -m pip install build "twine>=7,<8"
22+
- name: Build release artifacts
23+
run: python -m build
24+
- name: Validate release artifacts
25+
run: python -m twine check dist/*
26+
1127
test:
1228
runs-on: ${{ matrix.os }}
1329
strategy:

0 commit comments

Comments
 (0)