diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index dbb55ba..b16f2ca 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -66,24 +66,38 @@ jobs: - name: 🔨 [build] Build Python package (source distribution) if: inputs.requirements == '' - run: python -m build --no-isolation --sdist + run: python -m build --sdist - name: 🔨 [build] Build Python package (binary distribution - wheel) if: inputs.requirements == '' + run: python -m build --wheel + + # build (not isolated) + + - name: 🔧 [build] Install dependencies for packaging and release + if: inputs.requirements == 'no-isolation' + run: python -m pip install build + + - name: 🔨 [build] Build Python package (source distribution) + if: inputs.requirements == 'no-isolation' + run: python -m build --no-isolation --sdist + + - name: 🔨 [build] Build Python package (binary distribution - wheel) + if: inputs.requirements == 'no-isolation' run: python -m build --no-isolation --wheel # setuptools - name: 🔧 [setuptools] Install dependencies for packaging and release - if: inputs.requirements != '' + if: inputs.requirements != '' && inputs.requirements != 'no-isolation' run: python -m pip install ${{ inputs.requirements }} - name: 🔨 [setuptools] Build Python package (source distribution) - if: inputs.requirements != '' + if: inputs.requirements != '' && inputs.requirements != 'no-isolation' run: python setup.py sdist - name: 🔨 [setuptools] Build Python package (binary distribution - wheel) - if: inputs.requirements != '' + if: inputs.requirements != '' && inputs.requirements != 'no-isolation' run: python setup.py bdist_wheel diff --git a/ExamplePipeline.png b/ExamplePipeline_dark.png similarity index 100% rename from ExamplePipeline.png rename to ExamplePipeline_dark.png diff --git a/ExamplePipeline_light.png b/ExamplePipeline_light.png new file mode 100644 index 0000000..56bd965 Binary files /dev/null and b/ExamplePipeline_light.png differ diff --git a/README.md b/README.md index 495acfc..846e76a 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,11 @@ This repository provides 10+ Reusable Workflows based on the CI pipelines of the By combining them, Python packages can be continuously tested and released along with Sphinx documentation sites, to GitHub Releases, GitHub Pages and PyPI. Optionally, coverage and static type check reports can be gathered. -[![](ExamplePipeline.png)](ExamplePipeline.png) +[![](ExamplePipeline_dark.png)](ExamplePipeline_dark.png) -As shown in the screenshot above, the expected order is: +[![](ExamplePipeline_light.png)](ExamplePipeline_light.png) + +As shown in the screenshots above, the expected order is: - Global: - [Parameters](.github/workflows/Parameters.yml): a workaround for the limitations to handle global variables in