🎨Reuse existing requirement pins @ smoke-test

This commit is contained in:
Sviatoslav Sydorenko 2022-12-06 22:30:01 +01:00
parent 5755482491
commit 967acbb201
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 6 additions and 4 deletions

View File

@ -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: