Future PHP Versions #57
This file contains 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: Future PHP Versions | ||
on: | ||
schedule: | ||
- cron: '33 1 * * 1' # weekly, on Monday morning | ||
env: | ||
MAILER_DSN: null://null | ||
ILIOS_LOCALE: en | ||
ILIOS_SECRET: ThisTokenIsNotSoSecretChangeIt | ||
ILIOS_FILE_SYSTEM_STORAGE_PATH: /tmp | ||
SYMFONY_DEPRECATIONS_HELPER: disabled=1 | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ILIOS_DEPLOYMENT_WEBHOOK_URL }} | ||
future_php: 8.2 | ||
jobs: | ||
test: | ||
name: Test PHP v${{ env.latest_php }} | ||
Check failure on line 18 in .github/workflows/future-php.yml GitHub Actions / Future PHP VersionsInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use PHP ${{ env.latest_php }} | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ env.latest_php }} | ||
coverage: none | ||
tools: pecl | ||
extensions: apcu | ||
- name: install dependencies | ||
run: composer install --no-interaction --prefer-dist | ||
- name: Run Tests | ||
run: vendor/bin/phpunit | ||
- uses: act10ns/[email protected] | ||
with: | ||
status: ${{ job.status }} | ||
message: PHP v${{ env.latest_php }} (future version) tests failed {{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }} | ||
if: failure() |