update cpm to v0.40.2 #1169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Prepare Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
cache: 'pip' # caching pip dependencies | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run tests | |
run: pytest -v |