-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add packaging without publish to CI
- Loading branch information
1 parent
1c0c453
commit 63edb1c
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/ | ||
. |