Skip to content

Commit 6987643

Browse files
committed
Release workflow WIP
1 parent fc6d4fa commit 6987643

File tree

3 files changed

+253
-1
lines changed

3 files changed

+253
-1
lines changed

Diff for: .github/workflows/release.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: release
2+
3+
#on:
4+
# release:
5+
# types: [created]
6+
on: [push]
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.8
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pipenv
21+
pipenv install --dev --deploy
22+
- name: Build and publish
23+
# env:
24+
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
25+
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26+
run: |
27+
pipenv run pytest
28+
pipenv run python setup.py bdist_wheel
29+
# twine upload dist/*

Diff for: Pipfile

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ verify_ssl = true
66
[dev-packages]
77
pytest = "*"
88
wheel = "*"
9+
twine = "*"
910

1011
[packages]
1112
mkp = {editable = true, path = "."}

Diff for: Pipfile.lock

+223-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)