File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : ["**"]
66 pull_request :
7- workflow_dispatch :
7+ release :
8+ types : [published]
89
9- permissions :
10- contents : read
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
12+ cancel-in-progress : true
13+
14+ env :
15+ FORCE_COLOR : 1
1116
1217jobs :
1318 package :
2126 - uses : actions/checkout@v5
2227 with :
2328 fetch-depth : 0
29+ - uses : hynek/build-and-inspect-python-package@v2
30+
2431
2532 test :
2633 needs : [package]
8390 assert any(ep.name=='waveshare' for ep in eps), eps
8491 print("Installed wheel exposes entry point OK.")
8592 PY
93+
8694 - uses : actions/download-artifact@v5
8795 with :
8896 name : Packages
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ dynamic = ["version"]
88description = " python-can backend for Waveshare 2-CH-CAN-TO-ETH (13-byte TCP wire format over TCP)"
99readme = " README.md"
1010requires-python = " >=3.10"
11- license = { text = " Apache-2.0" }
11+ license = " Apache-2.0"
1212authors = [{ name = " Klaudiusz Staniek" }]
1313dependencies = [" python-can>=4.2" ]
1414
You can’t perform that action at this time.
0 commit comments