File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name : Python Release Zip Ball
5
+
6
+ on :
7
+ push :
8
+ tags :
9
+ - " v*"
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ os : [ubuntu-22.04]
19
+ python-version : ["3.10"]
20
+
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ - name : Set up Python ${{ matrix.python-version }}
24
+ uses : actions/setup-python@v3
25
+ with :
26
+ python-version : ${{ matrix.python-version }}
27
+ - name : Install Python dependencies
28
+ run : |
29
+ python -m pip install --upgrade pip
30
+ python -m pip install -r requirements.txt
31
+ - name : Lint with Ruff
32
+ run : |
33
+ python -m pip install ruff
34
+ ruff check --output-format=github .
35
+ continue-on-error : true
36
+ - name : Build Dist Wheel
37
+ run : |
38
+ mkdir -p ${{ github.workspace }}/artifact
39
+ python setup.py bdist_wheel
40
+ mv dist/* ${{ github.workspace }}/artifact/
41
+ - name : Archive Zip Ball
42
+ uses : softprops/action-gh-release@v2
43
+ with :
44
+ draft : true
45
+ prerelease : false
46
+ files : " ${{ github.workspace }}/artifact/*.whl"
47
+ fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments