Skip to content

Commit

Permalink
for testing purposes - test all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Dec 7, 2023
1 parent facc8ef commit 9ea2217
Show file tree
Hide file tree
Showing 18 changed files with 36,770 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/allpackages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
on:
pull_request:
branches:
- main
name: allpackages

permissions:
contents: read

jobs:
test-all-packages-normal:
runs-on: ubuntu-latest
strategy:
matrix:
# python 3.12 is only available in pre-release versions
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install packages (normal)
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install -r scripts/test_all_packages/all_packages_${{ matrix.python }}.txt
- name: Generate test code
run: |
./scripts/test_all_packages/generate_test_code.sh
- name: Run test code
run: |
python3 scripts/test_all_packages/test_modules.py
test-all-packages-prerelease:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install packages (pre-release)
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install -r scripts/test_all_packages/all_packages_pre_release_${{ matrix.python }}.txt
- name: Generate test code
run: |
./scripts/test_all_packages/generate_test_code.sh
- name: Run test code
run: |
python3 scripts/test_all_packages/test_modules.py
209 changes: 209 additions & 0 deletions scripts/test_all_packages/all_packages.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
google-api-python-client
google-auth
google-auth-httplib2
google-auth-oauthlib
google-events
google-cloud-happybase
google-resumable-media
proto-plus
google-cloud-access-context-manager
google-cloud-aiplatform
googleapis-common-protos
google-api-core
google-cloud-audit-log
google-cloud-bigquery
# See https://github.com/googleapis/python-bigquery-dataframes/pull/231#issuecomment-1836064907
#bigframes; python_version<"3.12"
bigframes; python_version>="3.9"
pandas-gbq
sqlalchemy-bigquery
google-cloud-bigquery-storage
google-cloud-bigtable
google-cloud-core
# See https://github.com/googleapis/python-crc32c/issues/178
google-crc32c; python_version<"3.12"
google-cloud-datastore
db-dtypes
google-cloud-dns
google-cloud-documentai-toolbox
google-cloud-error-reporting
google-cloud-firestore
grpc-google-iam-v1
google-cloud-logging
google-cloud-ndb
google-cloud-org-policy
google-cloud-pubsub
google-cloud-pubsublite
google-cloud-runtimeconfig
google-cloud-spanner
django-google-spanner
google-cloud-storage
google-cloud-testutils
google-ads; python_version<"3.12"
google-ai-generativelanguage
google-analytics-admin
google-analytics-data
google-apps-script-type
google-area120-tables
google-cloud-access-approval
google-cloud-advisorynotifications
google-cloud-alloydb
google-cloud-api-gateway
google-cloud-apigee-connect
google-cloud-apigee-registry
google-cloud-api-keys
google-cloud-appengine-admin
google-cloud-appengine-logging
google-cloud-artifact-registry
google-cloud-asset
google-cloud-assured-workloads
google-cloud-automl
google-cloud-bare-metal-solution
google-cloud-batch
google-cloud-beyondcorp-appconnections
google-cloud-beyondcorp-appconnectors
google-cloud-beyondcorp-appgateways
google-cloud-beyondcorp-clientconnectorservices
google-cloud-beyondcorp-clientgateways
google-cloud-bigquery-analyticshub
google-cloud-bigquery-biglake
google-cloud-bigquery-connection
google-cloud-bigquery-data-exchange
google-cloud-bigquery-datapolicies
google-cloud-bigquery-datatransfer
google-cloud-bigquery-logging
google-cloud-bigquery-migration
google-cloud-bigquery-reservation
google-cloud-billing
google-cloud-binary-authorization
google-cloud-build
google-cloud-certificate-manager
google-cloud-channel
google-cloud-commerce-consumer-procurement
google-cloud-common
google-cloud-compute
google-cloud-confidentialcomputing
google-cloud-config
google-cloud-contact-center-insights
google-cloud-container
google-cloud-containeranalysis
google-cloud-contentwarehouse
google-cloud-datacatalog
google-cloud-datacatalog-lineage
google-cloud-dataflow-client
google-cloud-dataform
google-cloud-data-fusion
google-cloud-datalabeling
google-cloud-dataplex
google-cloud-dataproc
google-cloud-dataproc-metastore
google-cloud-data-qna
google-cloud-datastream
google-cloud-deploy
google-cloud-dialogflow
google-cloud-dialogflow-cx
google-cloud-discoveryengine
google-cloud-dlp
google-cloud-dms
google-cloud-documentai
google-cloud-domains
google-cloud-edgecontainer
google-cloud-edgenetwork
google-cloud-enterpriseknowledgegraph
google-cloud-essential-contacts
google-cloud-eventarc
google-cloud-eventarc-publishing
google-cloud-filestore
google-cloud-functions
google-cloud-gke-backup
google-cloud-gke-connect-gateway
google-cloud-gke-hub
google-cloud-gke-multicloud
google-cloud-gsuiteaddons
google-cloud-iam
google-cloud-iam-logging
google-cloud-iap
google-cloud-ids
google-cloud-kms
google-cloud-kms-inventory
google-cloud-language
google-cloud-life-sciences
google-cloud-managed-identities
google-cloud-media-translation
google-cloud-memcache
google-cloud-migrationcenter
google-cloud-monitoring
google-cloud-monitoring-dashboards
google-cloud-monitoring-metrics-scopes
google-cloud-netapp
google-cloud-network-connectivity
google-cloud-network-management
google-cloud-network-security
google-cloud-network-services
google-cloud-notebooks
google-cloud-optimization
google-cloud-orchestration-airflow
google-cloud-os-config
google-cloud-os-login
google-cloud-phishing-protection
google-cloud-policysimulator
google-cloud-policy-troubleshooter
google-cloud-policytroubleshooter-iam
google-cloud-private-ca
google-cloud-private-catalog
google-cloud-public-ca
google-cloud-rapidmigrationassessment
google-cloud-recaptcha-enterprise
google-cloud-recommendations-ai
google-cloud-recommender
google-cloud-redis
google-cloud-redis-cluster
google-cloud-resource-manager
google-cloud-resource-settings
google-cloud-retail
google-cloud-run
google-cloud-scheduler
google-cloud-secret-manager
google-cloud-securesourcemanager
google-cloud-securitycenter
google-cloud-service-control
google-cloud-service-directory
google-cloud-service-management
google-cloud-service-usage
google-cloud-shell
google-cloud-source-context
google-cloud-speech
google-cloud-storageinsights
google-cloud-storage-transfer
google-cloud-support
google-cloud-talent
google-cloud-tasks
google-cloud-telcoautomation
google-cloud-texttospeech
google-cloud-tpu
google-cloud-trace
google-cloud-translate
google-cloud-videointelligence
google-cloud-video-live-stream
google-cloud-video-stitcher
google-cloud-video-transcoder
google-cloud-vision
google-cloud-vm-migration
google-cloud-vmwareengine
google-cloud-vpc-access
google-cloud-webrisk
google-cloud-websecurityscanner
google-cloud-workflows
google-cloud-workstations
google-geo-type
google-maps-addressvalidation
google-maps-fleetengine
google-maps-fleetengine-delivery
google-maps-mapsplatformdatasets
google-maps-places
google-maps-routing
google-shopping-merchant-inventories
google-shopping-merchant-reports
google-shopping-type
grafeas

Loading

0 comments on commit 9ea2217

Please sign in to comment.