File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 1+ name : Upload Python Package
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v1
12+ - name : Set up Python
13+ uses : actions/setup-python@v1
14+ with :
15+ python-version : ' 3.x'
16+ - name : Install dependencies
17+ run : |
18+ python -m pip install --upgrade pip
19+ pip install setuptools wheel twine
20+ - name : Build and publish
21+ env :
22+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
23+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
24+ run : |
25+ python setup.py sdist bdist_wheel
26+ twine upload dist/*
Original file line number Diff line number Diff line change @@ -13,21 +13,7 @@ before_install:
1313install :
1414 - pip install -r requirements/requirements.txt
1515 - pip install -r requirements/requirements_dev.txt
16- - pip install codecov
1716before_script :
1817 - pytest --version
1918script :
2019 - ./tests/run.py
21- after_success :
22- - codecov
23- deploy :
24- provider : pypi
25- user : xenol
26- password :
27- secure : TO/e7xuqCgfxN+6uMKLsL4xGjNiyag9YXdSIu0icDCcBygJr2ngTlJMrJ4CuHyENLbbz851TaaEEEoqSBYz3txlkgYqbgdxepwjcWccuKUIcXL0Jl0hwXHmSJ7cYcw5PcgIZPX02LpgNEUhMDBYIVzEXuh7sP+VyH0SRCekZPn4cbB/5hmMcY4pYQLD1OhMmTEBpjl3wM0gQ3UqOi3FcFzRUVnrlTGi5gjrcWC/W4bJSoU03T8UjPvCU+hjsZ5/0twxIaV/1Tn4MmrvJz9mwZguC/Ba57CnZsyJjfwZo1Akf7a8NW0tRBsdvXnhC7SLM+vRY6X9sb4H1zh0Iu7irj2izOVbq6ccYutsnXSy+o2nJCEa9HOybjMmhJyBt1sHfZWMukIr0HgFRL3v7CvvqqtgVtpk4W7LT2KPX9D34/GcHAk4olX9strTPawuI4DHH1ARk4ym6eKZ0LcIOP6UzxkhIhgbebklxCzyfhyvqR2TmFWszuphLiFwOazbqAmPDqU2RQ/b6LLGw/mF45QLCMb76GGf8RIbHnRZsuhGb8x5kas7BxZ2byEvMKMFDbqKn+mKaUD5VwYjsKXphfo2DeJ1SWPuaczER0+FhX0o6wuYnL6ysxEAsoR7vIqsz6EeFJg/oFL6B4Uhfza+hh3oSgsER0i2KRrEuq1gu5RC2Sb4=
28- distributions : sdist bdist_wheel
29- skip_existing : true
30- on :
31- tags : true
32- branch : master
33- python : 3.7
You can’t perform that action at this time.
0 commit comments