Skip to content

Build and test

Build and test #6274

Workflow file for this run

name: Build and test
permissions:
contents: read
id-token: write
defaults:
run:
shell: bash
on:
push:
pull_request:
schedule:
- cron: '37 22 * * *'
jobs:
gha:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest]
python-version: ["3.11"]
steps:
# actions/checkout MUST come before auth
- uses: actions/checkout@v3
- id: auth
name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1
with:
workload_identity_provider: projects/318417991012/locations/global/workloadIdentityPools/gha-pool/providers/gha-provider
service_account: [email protected]
token_format: access_token
- name: Python packages
run: |
python3 -m pip install google-auth
python3 -m pip install requests
- name: USE GOOGLE SERVICES
run: |
python3 src/test.py