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 :
3540 run : |
3641 ruff check .
3742
38- test :
43+ build-check :
3944 runs-on : ubuntu-latest
4045 needs : lint
46+ steps :
47+ - name : Checkout
48+ uses : actions/checkout@v6
49+
50+ - name : Set up Python 3.12
51+ uses : actions/setup-python@v6
52+ with :
53+ python-version : " 3.12"
54+
55+ - name : Install build tools
56+ run : |
57+ python -m pip install --upgrade pip
58+ python -m pip install build twine
59+
60+ - name : Build package
61+ run : |
62+ python -m build
63+
64+ - name : Check package metadata
65+ run : |
66+ twine check dist/*
67+
68+ test :
69+ runs-on : ubuntu-latest
70+ needs : build-check
4171 strategy :
4272 fail-fast : false
4373 matrix :
You can’t perform that action at this time.
0 commit comments