File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Expand file tree Collapse file tree 2 files changed +38
-1
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 single version of Python
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name : Publish to PyPI
5
+
6
+ on :
7
+ push :
8
+ tags : " *"
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - name : Set up Python 3.9
18
+ uses : actions/setup-python@v2
19
+ with :
20
+ python-version : 3.9
21
+ cache : ' pip'
22
+
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install flake8 pytest tox
27
+
28
+ - name : Build project
29
+ run : |
30
+ python -m tox -e clean,build
31
+
32
+ - name : Publish package
33
+ uses : pypa/gh-action-pypi-publish@release/v1
34
+ with :
35
+ user : __token__
36
+ password : ${{ secrets.PYPI_PASSWORD }}
37
+
Original file line number Diff line number Diff line change 5
5
6
6
[metadata]
7
7
name = SewerRat
8
- description = Add a short description here!
8
+ description = Python client for the SewerRat API
9
9
author = LTLA
10
10
author_email = infinite.monkeys.with.keyboards@gmail.com
11
11
license = MIT
You can’t perform that action at this time.
0 commit comments