mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-12-28 18:04:50 -05:00
🎨Reuse existing requirement pins @ smoke-test
This commit is contained in:
parent
5755482491
commit
967acbb201
1 changed files with 6 additions and 4 deletions
10
.github/workflows/self-smoke-test-action.yml
vendored
10
.github/workflows/self-smoke-test-action.yml
vendored
|
@ -48,8 +48,14 @@ jobs:
|
|||
timeout-minutes: 2
|
||||
|
||||
steps:
|
||||
- name: Check out the action locally
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: test
|
||||
- name: Install the packaging-related tools
|
||||
run: python3 -m pip install build twine
|
||||
env:
|
||||
PIP_CONSTRAINT: test/requirements/runtime.txt
|
||||
- name: Create the stub package importable directory
|
||||
run: mkdir -pv src/test_package
|
||||
- name: Populate the stub package `__init__.py`
|
||||
|
@ -77,10 +83,6 @@ jobs:
|
|||
env:
|
||||
TWINE_USERNAME: ${{ env.devpi-username }}
|
||||
TWINE_PASSWORD: ${{ env.devpi-password }}
|
||||
- name: Check out the action locally
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: test
|
||||
- name: ✅ Smoke-test the locally checked out action
|
||||
uses: ./test
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue