Repository navigation
feat(Gax)!: remove V1 GAPIC backwards compatibility and deprecated classes #20659
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: DocFX Test Suite | |
| on: | |
| release: | |
| types: [published] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| docfx: | |
| name: "Docs: Generation Check" | |
| runs-on: ubuntu-latest | |
| env: | |
| PHPDOC_ENV: prod | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Python | |
| uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: '3.15' | |
| - run: pip install --require-hashes -r .kokoro/docs/docker/requirements.txt | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 | |
| with: | |
| php-version: "8.2" | |
| - name: Extract phpDocumentor | |
| id: extract | |
| uses: shrink/actions-docker-extract@f1ef61065b78731fe3310b4e84e511f6a927a77e # v4.0.0 | |
| with: | |
| image: "phpdoc/phpdoc:3.5.3" | |
| path: "/opt/phpdoc/." | |
| - name: Symlink phpDocumentor | |
| run: ln -s $(pwd)/${STEPS_EXTRACT_OUTPUTS_DESTINATION}/bin/phpdoc /usr/local/bin/phpdoc | |
| env: | |
| STEPS_EXTRACT_OUTPUTS_DESTINATION: ${{ steps.extract.outputs.destination }} | |
| - name: Install Dependencies | |
| uses: nick-invision/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 10 | |
| max_attempts: 3 | |
| command: composer --no-interaction --no-ansi --no-progress update -d dev | |
| - name: Run DocFX Unit Test Suite | |
| run: dev/vendor/bin/phpunit -c dev/phpunit-docfx.xml.dist | |
| - name: Install Dependencies (--no-dev) | |
| uses: nick-invision/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0 | |
| with: | |
| timeout_minutes: 10 | |
| max_attempts: 3 | |
| command: composer --no-interaction --no-ansi --no-progress --no-dev update -d dev | |
| - name: Run Docs Generator (Dry Run) | |
| run: .kokoro/docs/publish.sh |