File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 28
28
poetry install --with dev
29
29
. ./.venv/bin/activate
30
30
pytest .
31
+ rm -rf .venv
32
+ - name : Publish to PYPI
33
+ if : github.ref_name == 'main'
34
+ run : |
35
+ pip install poetry
36
+ poetry config virtualenvs.create false
37
+ poetry build
38
+ # basemath is already present as a package (as in math with bases), so use a slightly different name
39
+ poetry publish --name basemath-analysis -u "__token__" --password "$PYPI_TOKEN"
40
+ env :
41
+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 2
2
name = " basemath"
3
3
version = " 0.1.0"
4
4
description = " A library for BaseMath's test, a novel Group Sequential Testing approach that enables the user to stop early."
5
- authors = [" Your Name <you@example .com>" ]
5
+ authors = [" Data Products GYG <engineering.data-products@getyourguide .com>" ]
6
6
license = " Apache License 2.0"
7
7
readme = " README.md"
8
+ repository = " https://github.com/getyourguide/basemath"
8
9
9
10
[tool .poetry .dependencies ]
10
11
python = " ^3.8"
You can’t perform that action at this time.
0 commit comments