Skip to content

Commit a0a8043

Browse files
authored
Merge pull request #102 from mulkieran/modern-build
Add modern packaging test
2 parents dcd3686 + 0e73a14 commit a0a8043

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
task: >
4444
PYTHONPATH=./src:../usr/local/lib/python3.11/site-packages
4545
make -f Makefile coverage
46+
- dependencies: python python3-build twine
47+
task: make -f Makefile package
4648
runs-on: ubuntu-latest
4749
container: fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
4850
steps:

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ upload-release:
3232
yamllint:
3333
yamllint --strict .github/workflows/main.yml
3434

35+
.PHONY: package
36+
package:
37+
(umask 0022; python -m build; python -m twine check --strict ./dist/*)
38+
3539
.PHONY: legacy-package
3640
legacy-package:
3741
python3 setup.py build

0 commit comments

Comments
 (0)