From 63edb1c71150208761997430c59371949f199739 Mon Sep 17 00:00:00 2001 From: Jon Bringhurst Date: Thu, 19 Jan 2023 11:14:54 -0800 Subject: [PATCH] chore: add packaging without publish to CI --- .github/workflows/package-without-publish.yml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/package-without-publish.yml diff --git a/.github/workflows/package-without-publish.yml b/.github/workflows/package-without-publish.yml new file mode 100644 index 00000000..cf69f076 --- /dev/null +++ b/.github/workflows/package-without-publish.yml @@ -0,0 +1,42 @@ +name: Kazoo Awesome Packaging Test + +on: + push: + branches: + - master + - release/* + pull_request: + branches: + - master + - release/* + +jobs: + package-without-publish: + name: Testing packaging WITHOUT publishing to Pypi + runs-on: ubuntu-latest + steps: + - name: Handle the code + uses: actions/checkout@v2 + + - name: Set up Python 3.10 + uses: actions/setup-python@v2 + with: + python-version: "3.10" + + - name: Install pypa/build + run: >- + python -m + pip install + build + --user + + - name: Build a binary wheel and a source tarball + run: >- + python -m + build + -C--global-option=egg_info + -C--global-option=--tag-build="" + --sdist + --wheel + --outdir dist/ + .