Skip to content

Commit ef05b87

Browse files
remove tests from pypi publishing workflow
1 parent 8a8d3e9 commit ef05b87

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Publish to PyPI
22

33
on:
44
release:
5-
types: [published]
5+
types:
6+
- published
67
workflow_dispatch:
78

89
jobs:
@@ -21,16 +22,13 @@ jobs:
2122
with:
2223
python-version: "3.11"
2324

24-
- name: Install build and test dependencies
25+
- name: Install build tooling
2526
run: |
2627
python -m pip install --upgrade pip
27-
python -m pip install hatch twine
28-
29-
- name: Run tests
30-
run: hatch run test:pytest -v
28+
python -m pip install build twine
3129
3230
- name: Build artifacts
33-
run: hatch build
31+
run: python -m build
3432

3533
- name: Configure publish credentials
3634
id: publish-config

0 commit comments

Comments
 (0)