fix: the generated sdist file should contain everything needed to check and test the code, and to build the documentation as well #1077
This file contains hidden or 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
| # This workflow checks and tests the package code, and it builds all package | |
| # artifacts whenever there were changes to a pull request. | |
| name: Check change set | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| permissions: | |
| contents: read | |
| # Cancel existing running workflows for a PR when a new change is pushed | |
| # to that PR. See also: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/_build.yaml | |
| permissions: | |
| contents: read | |
| with: | |
| disable-pip-audit: ${{ vars.DISABLE_PIP_AUDIT == 'true' }} |