Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 34 additions & 2 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,45 @@ jobs:
with:
name: coverage-artifact-${{ '{{' }} matrix.python {{ '}}' }}
path: .coverage-${{ matrix.python }}
unit-extended:
unit-prerelease:
name: ${{ matrix.option }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.14"]
option: ["prerelease"]
steps:
- name: Checkout
uses: actions/checkout@v4
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
# 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@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run ${{ matrix.option }} tests
env:
BUILD_TYPE: presubmit
TEST_TYPE: ${{ matrix.option }}
# TODO(https://github.com/googleapis/google-cloud-python/issues/13775): Specify `PY_VERSION` rather than relying on the default python version of the nox session.
PY_VERSION: "unused"
run: |
ci/run_conditional_tests.sh
unit-core-deps-from-source:
name: ${{ matrix.option }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.13"]
option: ["prerelease", "core_deps_from_source"]
option: ["core_deps_from_source"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Loading