diff options
author | Mike Crute <mike@crute.us> | 2020-06-09 01:07:31 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-06-09 02:25:32 +0000 |
commit | f6714a399003e660d310172391dfb762ea306b00 (patch) | |
tree | 9eaae019ca5dcbb7b6e23ac775e066fa990a3084 /.github/workflows/release.yml | |
parent | e42c95b978a83a1ba48020b6d84218f2f17b5db4 (diff) | |
download | pydora-f6714a399003e660d310172391dfb762ea306b00.tar.bz2 pydora-f6714a399003e660d310172391dfb762ea306b00.tar.xz pydora-f6714a399003e660d310172391dfb762ea306b00.zip |
Convert build system to tox
This is the current modern way to build, package, and test python code.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f47c613 --- /dev/null +++ b/.github/workflows/release.yml | |||
@@ -0,0 +1,23 @@ | |||
1 | name: release | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | tags: | ||
6 | - 'release-*' | ||
7 | |||
8 | jobs: | ||
9 | build: | ||
10 | runs-on: ubuntu-latest | ||
11 | |||
12 | steps: | ||
13 | - uses: actions/checkout@v2 | ||
14 | |||
15 | - uses: actions/setup-python@v2 | ||
16 | with: | ||
17 | python-version: 3.8 | ||
18 | |||
19 | - env: | ||
20 | TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }} | ||
21 | run: | | ||
22 | pip install tox | ||
23 | tox -e tests,release,upload | ||