File tree Expand file tree Collapse file tree 2 files changed +38
-10
lines changed Expand file tree Collapse file tree 2 files changed +38
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ python-version : ["3.12"]
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Set up Python ${{ matrix.python-version }}
17
+ uses : actions/setup-python@v3
18
+ with :
19
+ python-version : ${{ matrix.python-version }}
20
+ - name : Install publish dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install '.[publish]'
24
+ - name : Build and test wheel
25
+ run : |
26
+ rm -rf dist/
27
+ python -m build --sdist --wheel .
28
+ twine check dist/*
29
+ - name : Publish
30
+ run : |
31
+ twine upload --non-interactive --verbose --username __token__ --password "$PYPI_API_TOKEN" dist/*
32
+
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " beku-stackabletech"
3
3
version = " 0.0.9"
4
- authors = [
5
- { name = " Razvan Mihai" , email = " razvan.mihai@stackable.tech" }
6
- ]
4
+ authors = [{ name = " Razvan Mihai" , email = " razvan.mihai@stackable.tech" }]
7
5
description = " Test suite expander for Stackable Kuttl tests."
8
6
readme = " README.md"
9
7
requires-python = " >=3.7"
10
8
classifiers = [
11
- " Programming Language :: Python :: 3" ,
12
- " License :: OSI Approved :: MIT License" ,
13
- " Operating System :: OS Independent" ,
14
- ]
15
- dependencies = [
16
- " Jinja2>=3.1.2" ,
17
- " PyYAML>=6.0"
9
+ " Programming Language :: Python :: 3" ,
10
+ " License :: OSI Approved :: MIT License" ,
11
+ " Operating System :: OS Independent" ,
18
12
]
13
+ dependencies = [" Jinja2>=3.1.2" , " PyYAML>=6.0" ]
19
14
[project .optional-dependencies ]
20
15
lint = [' ruff==0.0.275' , ' mypy==1.4.0' ]
16
+ publish = [' twine==5.0.0' , ' build==1.2.1' ]
21
17
22
18
[project .scripts ]
23
19
beku = " beku.main:main"
You can’t perform that action at this time.
0 commit comments