Add python build for distribution to CI
Add CI to test python build. This is required before publishing to pypi. Signed-off-by: Vijayan Balasubramanian <[email protected]>
This commit is contained in:
committed by
Vijayan Balasubramanian
parent
ef88f43a72
commit
2dc1992032
@@ -19,6 +19,22 @@ jobs:
|
||||
- name: Lint the code
|
||||
run: nox -s lint
|
||||
|
||||
test-build-distribution:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install build tools
|
||||
run: |
|
||||
python3.7 -m pip install --upgrade build
|
||||
- name: Build project for distribution
|
||||
run: |
|
||||
python3.7 -m build
|
||||
|
||||
test-linux:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
Reference in New Issue
Block a user