Skip to content

feat: read content of generate request #4

feat: read content of generate request

feat: read content of generate request #4

Workflow file for this run

on:
pull_request:
branches:
- main
name: generator
permissions:
contents: read
jobs:
test_generator_cli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Use a fetch-depth of 2
# 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: "3.10"
- name: Install pytest
run: |
python -m pip install pytest
- name: Run generator_cli tests
run: |
pytest .generator/test_cli.py