Fix dw upgrade post-replace exit-code autoload #140
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: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test (PHP ${{ matrix.php }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: ['8.4'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| tools: composer:v2 | |
| coverage: none | |
| - run: composer install --prefer-dist --no-interaction | |
| - name: Validate installer scripts | |
| run: | | |
| sh -n scripts/install.sh | |
| sh -n scripts/generate-homebrew-formula.sh | |
| sh -n scripts/verify-release.sh | |
| pwsh -NoProfile -Command '$null = [scriptblock]::Create((Get-Content -Raw scripts/install.ps1))' | |
| - run: composer test | |
| build-phar: | |
| name: Build PHAR (smoke test) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.4' | |
| tools: composer:v2, box:4.6.6 | |
| coverage: none | |
| ini-values: phar.readonly=0 | |
| - run: php scripts/generate-build-info.php | |
| - run: composer install --no-dev --prefer-dist --no-interaction --optimize-autoloader | |
| - run: box compile --no-parallel | |
| - run: box info build/dw.phar | |
| - run: php build/dw.phar list | |
| sdk-python-parity: | |
| name: SDK-Python parity fixtures | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: cli | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: durable-workflow/sdk-python | |
| path: sdk-python | |
| - name: Compare shared control-plane parity fixtures | |
| working-directory: cli | |
| run: scripts/check-sdk-python-parity.sh ../sdk-python |