Skip to content

fix -Wunreachable-code-break warning #416

fix -Wunreachable-code-break warning

fix -Wunreachable-code-break warning #416

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