clarify toggle cli usage, enable more testing for draft mode PRs, add… #352
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
| name: Test | |
| on: # Trigger the workflow on push or pull request, but only for the main branch | |
| push: | |
| branches: [main, "release/*"] | |
| pull_request: | |
| branches: [main, "release/*"] | |
| env: | |
| USE_CI_COMMIT_PIN: "1" | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| pip install '.[dev]' | |
| pip list | |
| - run: mypy --install-types --non-interactive |