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/build.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/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f63125..f3833be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -13,6 +13,7 @@ jobs: | |||
13 | os: | 13 | os: |
14 | - ubuntu-latest | 14 | - ubuntu-latest |
15 | - macos-latest | 15 | - macos-latest |
16 | |||
16 | python-version: | 17 | python-version: |
17 | - 3.5 | 18 | - 3.5 |
18 | - 3.6 | 19 | - 3.6 |
@@ -26,5 +27,6 @@ jobs: | |||
26 | with: | 27 | with: |
27 | python-version: ${{ matrix.python-version }} | 28 | python-version: ${{ matrix.python-version }} |
28 | 29 | ||
29 | - run: pip install -U pip setuptools wheel mock nose pytest | 30 | - run: | |
30 | - run: python setup.py release | 31 | pip install tox |
32 | tox -e tests,release | ||