Skip to content

chore(deps): update dependency ubuntu to v24 #10056

chore(deps): update dependency ubuntu to v24

chore(deps): update dependency ubuntu to v24 #10056

Workflow file for this run

name: DocFX Test Suite
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
docfx:
name: "Run DocFX tests"
runs-on: ubuntu-latest
env:
PHPDOC_ENV: prod
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- run: pip install --no-deps --require-hashes -r .kokoro/docs/docker/requirements.txt
- name: Setup PHP
uses: shivammathur/setup-php@verbose
with:
php-version: "8.1"
- name: Extract phpDocumentor
id: extract
uses: shrink/actions-docker-extract@v2
with:
image: "phpdoc/phpdoc:3.4.1"
path: "/opt/phpdoc/."
- name: Symlink phpDocumentor
run: ln -s $(pwd)/${{ steps.extract.outputs.destination }}/bin/phpdoc /usr/local/bin/phpdoc
- name: Install Dependencies
uses: nick-invision/retry@v3
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: Run Docs Generator (Dry Run)
run: .kokoro/docs/publish.sh