Skip to content

Commit 40c4014

Browse files
authored
chore: remove prerelease and core_deps from GHA (#17291)
Remove `prerelease` and `core_deps_from_source` tests from running in GHA as part of presubmits. These tests will now be run as part of a continuous Kokoro job instead. Fixes #17243
1 parent 200b0d3 commit 40c4014

1 file changed

Lines changed: 0 additions & 65 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -48,71 +48,6 @@ jobs:
4848
with:
4949
name: coverage-artifact-${{ '{{' }} matrix.python {{ '}}' }}
5050
path: .coverage-${{ matrix.python }}
51-
unit-prerelease:
52-
name: ${{ matrix.option }}
53-
runs-on: ubuntu-latest
54-
strategy:
55-
matrix:
56-
python: ["3.14"]
57-
option: ["prerelease"]
58-
steps:
59-
- name: Checkout
60-
uses: actions/checkout@v4
61-
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
62-
# See https://github.com/googleapis/google-cloud-python/issues/12013
63-
# and https://github.com/actions/checkout#checkout-head.
64-
with:
65-
fetch-depth: 2
66-
- name: Setup Python
67-
uses: actions/setup-python@v5
68-
with:
69-
python-version: ${{ matrix.python }}
70-
allow-prereleases: true
71-
- name: Install nox
72-
run: |
73-
python -m pip install --upgrade setuptools pip wheel
74-
python -m pip install nox
75-
- name: Run ${{ matrix.option }} tests
76-
env:
77-
BUILD_TYPE: presubmit
78-
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref }}
79-
TEST_TYPE: ${{ matrix.option }}
80-
# 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.
81-
PY_VERSION: "unused"
82-
run: |
83-
ci/run_conditional_tests.sh
84-
unit-core-deps-from-source:
85-
name: ${{ matrix.option }}
86-
runs-on: ubuntu-latest
87-
strategy:
88-
matrix:
89-
python: ["3.14"]
90-
option: ["core_deps_from_source-3.14"]
91-
steps:
92-
- name: Checkout
93-
uses: actions/checkout@v4
94-
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
95-
# See https://github.com/googleapis/google-cloud-python/issues/12013
96-
# and https://github.com/actions/checkout#checkout-head.
97-
with:
98-
fetch-depth: 2
99-
- name: Setup Python
100-
uses: actions/setup-python@v5
101-
with:
102-
python-version: ${{ matrix.python }}
103-
- name: Install nox
104-
run: |
105-
python -m pip install --upgrade setuptools pip wheel
106-
python -m pip install nox
107-
- name: Run ${{ matrix.option }} tests
108-
env:
109-
BUILD_TYPE: presubmit
110-
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref }}
111-
TEST_TYPE: ${{ matrix.option }}
112-
# 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.
113-
PY_VERSION: "unused"
114-
run: |
115-
ci/run_conditional_tests.sh
11651

11752
cover:
11853
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)