File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ name: Run Package Verifications
66on :
77 push :
88 branches : [ "master" ]
9+ paths-ignore :
10+ - " *.md"
11+
912 pull_request :
1013 branches : [ "master" ]
14+ paths-ignore :
15+ - " *.md"
1116
1217jobs :
1318 lint :
3843 run : |
3944 black --check .
4045
41- test :
46+ build-check :
4247 runs-on : ubuntu-latest
4348 needs : lint
49+ steps :
50+ - name : Checkout
51+ uses : actions/checkout@v6
52+
53+ - name : Set up Python 3.12
54+ uses : actions/setup-python@v6
55+ with :
56+ python-version : " 3.12"
57+
58+ - name : Install build tools
59+ run : |
60+ python -m pip install --upgrade pip
61+ python -m pip install build twine
62+
63+ - name : Build package
64+ run : |
65+ python -m build
66+
67+ - name : Check package metadata
68+ run : |
69+ twine check dist/*
70+
71+ test :
72+ runs-on : ubuntu-latest
73+ needs : build-check
4474 strategy :
4575 fail-fast : false
4676 matrix :
You can’t perform that action at this time.
0 commit comments