Skip to content

Build the string directly instead of copying and then pruning tabs or newlines #575

Build the string directly instead of copying and then pruning tabs or newlines

Build the string directly instead of copying and then pruning tabs or newlines #575

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@8ade135a41bc03ea155e62e844d188df1ea18608 # v3.6.0
- name: Install dependencies
run: pip3 install -r requirements.txt
- name: Run tests
run: pytest -v