mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 23:06:58 +08:00
test upload to testpypi
This commit is contained in:
10
.github/workflows/python-publish.yml
vendored
10
.github/workflows/python-publish.yml
vendored
@@ -32,8 +32,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make build
|
make build
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
ls dist
|
ls dist
|
||||||
|
twine check dist/*.whl
|
||||||
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl
|
||||||
|
|
||||||
deploy_with_manylinux:
|
deploy_with_manylinux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -53,5 +58,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip list
|
python -m pip list
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
ls dist
|
ls dist
|
||||||
|
twine check dist/*.whl
|
||||||
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ name = "pyqlib"
|
|||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
description = "A Quantitative-research Platform"
|
description = "A Quantitative-research Platform"
|
||||||
requires-python = ">=3.8.0"
|
requires-python = ">=3.8.0"
|
||||||
|
readme = {file = "README.md", content-type = "text/markdown"}
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pyyaml",
|
"pyyaml",
|
||||||
|
|||||||
Reference in New Issue
Block a user