Skip to content

Commit cfd8910

Browse files
committed
for testing purposes - test all packages
1 parent facc8ef commit cfd8910

18 files changed

Lines changed: 36777 additions & 0 deletions

.github/workflows/allpackages.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
on:
2+
pull_request:
3+
branches:
4+
- main
5+
name: allpackages
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
test-all-packages-normal:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
# python 3.12 is only available in pre-release versions
16+
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Setup Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python }}
24+
- name: Install packages (normal)
25+
run: |
26+
python -m pip install --upgrade setuptools pip wheel
27+
python -m pip install -r scripts/test_all_packages/all_packages_${{ matrix.python }}.txt
28+
- name: Generate test code
29+
run: |
30+
./scripts/test_all_packages/generate_test_code.sh
31+
- name: Run test code
32+
run: |
33+
python3 scripts/test_all_packages/test_modules.py
34+
test-all-packages-prerelease:
35+
runs-on: ubuntu-latest
36+
strategy:
37+
matrix:
38+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v4
42+
- name: Setup Python
43+
uses: actions/setup-python@v4
44+
with:
45+
python-version: ${{ matrix.python }}
46+
- name: Install packages (pre-release)
47+
run: |
48+
python -m pip install --upgrade setuptools pip wheel
49+
python -m pip install -r scripts/test_all_packages/all_packages_pre_release_${{ matrix.python }}.txt
50+
- name: Generate test code
51+
run: |
52+
./scripts/test_all_packages/generate_test_code.sh
53+
- name: Run test code
54+
run: |
55+
python3 scripts/test_all_packages/test_modules.py
Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
google-api-python-client
2+
google-auth
3+
google-auth-httplib2
4+
google-auth-oauthlib
5+
google-events
6+
google-cloud-happybase
7+
google-resumable-media
8+
proto-plus
9+
google-cloud-access-context-manager
10+
google-cloud-aiplatform
11+
googleapis-common-protos
12+
google-api-core
13+
google-cloud-audit-log
14+
google-cloud-bigquery
15+
# See https://github.com/googleapis/python-bigquery-dataframes/pull/231#issuecomment-1836064907
16+
#bigframes; python_version<"3.12"
17+
bigframes; python_version>="3.9"
18+
pandas-gbq
19+
sqlalchemy-bigquery
20+
google-cloud-bigquery-storage
21+
google-cloud-bigtable
22+
google-cloud-core
23+
# See https://github.com/googleapis/python-crc32c/issues/178
24+
google-crc32c; python_version<"3.12"
25+
google-cloud-datastore
26+
db-dtypes
27+
google-cloud-dns
28+
google-cloud-documentai-toolbox
29+
google-cloud-error-reporting
30+
google-cloud-firestore
31+
grpc-google-iam-v1
32+
google-cloud-logging
33+
google-cloud-ndb
34+
google-cloud-org-policy
35+
google-cloud-pubsub
36+
google-cloud-pubsublite
37+
google-cloud-runtimeconfig
38+
google-cloud-spanner
39+
django-google-spanner
40+
google-cloud-storage
41+
google-cloud-testutils
42+
google-ads; python_version<"3.12"
43+
google-ai-generativelanguage
44+
google-analytics-admin
45+
google-analytics-data
46+
google-apps-script-type
47+
google-area120-tables
48+
google-cloud-access-approval
49+
google-cloud-advisorynotifications
50+
google-cloud-alloydb
51+
google-cloud-api-gateway
52+
google-cloud-apigee-connect
53+
google-cloud-apigee-registry
54+
google-cloud-api-keys
55+
google-cloud-appengine-admin
56+
google-cloud-appengine-logging
57+
google-cloud-artifact-registry
58+
google-cloud-asset
59+
google-cloud-assured-workloads
60+
google-cloud-automl
61+
google-cloud-bare-metal-solution
62+
google-cloud-batch
63+
google-cloud-beyondcorp-appconnections
64+
google-cloud-beyondcorp-appconnectors
65+
google-cloud-beyondcorp-appgateways
66+
google-cloud-beyondcorp-clientconnectorservices
67+
google-cloud-beyondcorp-clientgateways
68+
google-cloud-bigquery-analyticshub
69+
google-cloud-bigquery-biglake
70+
google-cloud-bigquery-connection
71+
google-cloud-bigquery-data-exchange
72+
google-cloud-bigquery-datapolicies
73+
google-cloud-bigquery-datatransfer
74+
google-cloud-bigquery-logging
75+
google-cloud-bigquery-migration
76+
google-cloud-bigquery-reservation
77+
google-cloud-billing
78+
google-cloud-binary-authorization
79+
google-cloud-build
80+
google-cloud-certificate-manager
81+
google-cloud-channel
82+
google-cloud-commerce-consumer-procurement
83+
google-cloud-common
84+
google-cloud-compute
85+
google-cloud-confidentialcomputing
86+
google-cloud-config
87+
google-cloud-contact-center-insights
88+
google-cloud-container
89+
google-cloud-containeranalysis
90+
google-cloud-contentwarehouse
91+
google-cloud-datacatalog
92+
google-cloud-datacatalog-lineage
93+
google-cloud-dataflow-client
94+
google-cloud-dataform
95+
google-cloud-data-fusion
96+
google-cloud-datalabeling
97+
google-cloud-dataplex
98+
google-cloud-dataproc
99+
google-cloud-dataproc-metastore
100+
google-cloud-data-qna
101+
google-cloud-datastream
102+
google-cloud-deploy
103+
google-cloud-dialogflow
104+
google-cloud-dialogflow-cx
105+
google-cloud-discoveryengine
106+
google-cloud-dlp
107+
google-cloud-dms
108+
google-cloud-documentai
109+
google-cloud-domains
110+
google-cloud-edgecontainer
111+
google-cloud-edgenetwork
112+
google-cloud-enterpriseknowledgegraph
113+
google-cloud-essential-contacts
114+
google-cloud-eventarc
115+
google-cloud-eventarc-publishing
116+
google-cloud-filestore
117+
google-cloud-functions
118+
google-cloud-gke-backup
119+
google-cloud-gke-connect-gateway
120+
google-cloud-gke-hub
121+
google-cloud-gke-multicloud
122+
google-cloud-gsuiteaddons
123+
google-cloud-iam
124+
google-cloud-iam-logging
125+
google-cloud-iap
126+
google-cloud-ids
127+
google-cloud-kms
128+
google-cloud-kms-inventory
129+
google-cloud-language
130+
google-cloud-life-sciences
131+
google-cloud-managed-identities
132+
google-cloud-media-translation
133+
google-cloud-memcache
134+
google-cloud-migrationcenter
135+
google-cloud-monitoring
136+
google-cloud-monitoring-dashboards
137+
google-cloud-monitoring-metrics-scopes
138+
google-cloud-netapp
139+
google-cloud-network-connectivity
140+
google-cloud-network-management
141+
google-cloud-network-security
142+
google-cloud-network-services
143+
google-cloud-notebooks
144+
google-cloud-optimization
145+
google-cloud-orchestration-airflow
146+
google-cloud-os-config
147+
google-cloud-os-login
148+
google-cloud-phishing-protection
149+
google-cloud-policysimulator
150+
google-cloud-policy-troubleshooter
151+
google-cloud-policytroubleshooter-iam
152+
google-cloud-private-ca
153+
google-cloud-private-catalog
154+
google-cloud-public-ca
155+
google-cloud-rapidmigrationassessment
156+
google-cloud-recaptcha-enterprise
157+
google-cloud-recommendations-ai
158+
google-cloud-recommender
159+
google-cloud-redis
160+
google-cloud-redis-cluster
161+
google-cloud-resource-manager
162+
google-cloud-resource-settings
163+
google-cloud-retail
164+
google-cloud-run
165+
google-cloud-scheduler
166+
google-cloud-secret-manager
167+
google-cloud-securesourcemanager
168+
google-cloud-securitycenter
169+
google-cloud-service-control
170+
google-cloud-service-directory
171+
google-cloud-service-management
172+
google-cloud-service-usage
173+
google-cloud-shell
174+
google-cloud-source-context
175+
google-cloud-speech
176+
google-cloud-storageinsights
177+
google-cloud-storage-transfer
178+
google-cloud-support
179+
google-cloud-talent
180+
google-cloud-tasks
181+
google-cloud-telcoautomation
182+
google-cloud-texttospeech
183+
google-cloud-tpu
184+
google-cloud-trace
185+
google-cloud-translate
186+
google-cloud-videointelligence
187+
google-cloud-video-live-stream
188+
google-cloud-video-stitcher
189+
google-cloud-video-transcoder
190+
google-cloud-vision
191+
google-cloud-vm-migration
192+
google-cloud-vmwareengine
193+
google-cloud-vpc-access
194+
google-cloud-webrisk
195+
google-cloud-websecurityscanner
196+
google-cloud-workflows
197+
google-cloud-workstations
198+
google-geo-type
199+
google-maps-addressvalidation
200+
google-maps-fleetengine
201+
google-maps-fleetengine-delivery
202+
google-maps-mapsplatformdatasets
203+
google-maps-places
204+
google-maps-routing
205+
google-shopping-merchant-inventories
206+
google-shopping-merchant-reports
207+
google-shopping-type
208+
grafeas
209+

0 commit comments

Comments
 (0)