Skip to content

corrects a closing #endif comment #744

corrects a closing #endif comment

corrects a closing #endif comment #744

name: Release Script Tests
on:
# workflow_call is used to indicate that a workflow can be called by another workflow.
workflow_call:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
permissions:
contents: read
jobs:
release-script-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tools/release
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- name: Prepare Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest -v