Skip to content

Commit

Permalink
Merge pull request #55 from MetRonnie/patch
Browse files Browse the repository at this point in the history
`build-python-package`: make dependencies check optional
  • Loading branch information
wxtim authored Jul 26, 2023
2 parents 5702739 + 16abe62 commit cfa069c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-python-package/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build Python package
description: Build Python package wheel distribution. Must be run in the (usually top-level) package dir containing setup.py
inputs:
check-dependencies:
description: Try pip-installing dependencies to make sure we are pinned to released versions on PyPI
required: false
default: true
dry-run:
description: Obsolete; there is no longer a difference between dry-run and real build
required: false
Expand Down Expand Up @@ -32,5 +36,6 @@ runs:
twine check dist/*
- name: Check dependencies
if: inputs.check-dependencies
shell: bash
run: python3 -m pip install -e .[all] --dry-run --ignore-installed

0 comments on commit cfa069c

Please sign in to comment.