Skip to content

Commit a6e2764

Browse files
committed
update github publish workflow
1 parent e060d87 commit a6e2764

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
build:
1010
name: Build distributions
1111
runs-on: ubuntu-latest
12-
outputs:
13-
version: ${{ steps.version.outputs.version }}
1412
steps:
1513
- uses: actions/checkout@v4
1614

@@ -22,6 +20,9 @@ jobs:
2220
- name: Install build tools
2321
run: python -m pip install --upgrade pip build twine
2422

23+
- name: Install project dependencies
24+
run: python -m pip install .
25+
2526
- name: Read package version
2627
id: version
2728
run: |
@@ -58,6 +59,9 @@ jobs:
5859
- name: Build sdist and wheel
5960
run: python -m build --sdist --wheel --outdir dist/
6061

62+
- name: Python compile check
63+
run: python -m py_compile tpcav/*.py scripts/*.py test/*.py
64+
6165
- name: Twine check
6266
run: python -m twine check --strict dist/*
6367

0 commit comments

Comments
 (0)