chore(resumable-media): add prerelease_deps and core_deps_from_source nox sessions #5436
Workflow file for this run
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
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| name: generator | |
| permissions: | |
| contents: read | |
| jobs: | |
| test_generator_cli: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| # Use a fetch-depth of 2 | |
| # See https://github.com/googleapis/google-cloud-python/issues/12013 | |
| # and https://github.com/actions/checkout#checkout-head. | |
| with: | |
| fetch-depth: 2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r .generator/requirements-test.in | |
| - name: Run generator_cli tests | |
| run: | | |
| pytest .generator | |
| - name: Check coverage | |
| run: | | |
| pytest --cov=. --cov-report=term-missing --cov-fail-under=95 | |
| working-directory: .generator |