github patch factory: support another URL format #183
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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.os }} ${{ matrix.phpversion }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
phpversion: ["7.4", "8.1", "8.2", "8.3"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
wget https://getcomposer.org/installer -O composer-setup.php | |
php${{ matrix.phpversion }} composer-setup.php | |
rm composer-setup.php | |
php${{ matrix.phpversion }} composer.phar update | |
cp config.php.in config.php | |
- name: Syntax checker | |
run: ./.github/scripts/syntax-check.sh | |
- name: Run Install script | |
run: php${{ matrix.phpversion }} doctrine.php orm:schema-tool:create | |
- name: Generate proxies | |
run: php${{ matrix.phpversion }} doctrine.php orm:generate-proxies | |
- name: Check ORM mapping | |
run: php${{ matrix.phpversion }} doctrine.php orm:validate-schema |& grep "The mapping files are correct" | |
env: | |
PHP_VERSION: ${{ matrix.phpversion }} |