-
Notifications
You must be signed in to change notification settings - Fork 6
GHA for database validation #380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 18 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7842a9a
validate database schema GHA
MarioRadu f24df79
validate database schema GHA
MarioRadu 72c861e
validate database schema GHA
MarioRadu 0bf4573
validate database schema GHA
MarioRadu bc3db28
validate database schema GHA
MarioRadu 3e8a265
validate database schema GHA
MarioRadu 5b6262e
GHA for validating database schema
MarioRadu b599a3b
GHA for validating database schema
MarioRadu ce1fb79
GHA for validating database schema
MarioRadu 4e57a98
GHA for validating database schema
MarioRadu 8f334da
GHA for validating database schema
MarioRadu e8c3a7b
GHA for validating database schema
MarioRadu d843c25
GHA for validating database schema
MarioRadu 042e8cb
GHA for validating database schema
MarioRadu d93846a
GHA for validating database schema
MarioRadu e770575
GHA for validating database schema
MarioRadu 4f68282
Merge branch '5.0' into issue-292
alexmerlin 4c820d9
validate database schema GHA
alexmerlin 98bed72
validate database schema GHA
alexmerlin 1fc6329
validate database schema GHA
alexmerlin 853f174
validate database schema GHA
alexmerlin bf36a22
validate database schema GHA
alexmerlin d384e13
validate database schema GHA
alexmerlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| on: | ||
| - push | ||
|
|
||
| name: Validate database schema | ||
|
|
||
| jobs: | ||
| code-coverage: | ||
| name: Code Coverage | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| strategy: | ||
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
|
|
||
| php: | ||
| - "8.2" | ||
| - "8.3" | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: "${{ matrix.php }}" | ||
| coverage: pcov | ||
| ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On | ||
| tools: composer:v2, cs2pr | ||
|
|
||
| - name: Determine composer cache directory | ||
| run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV | ||
|
|
||
| - name: Cache dependencies installed with composer | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ${{ env.COMPOSER_CACHE_DIR }} | ||
| key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} | ||
| restore-keys: | | ||
| php${{ matrix.php }}-composer- | ||
|
|
||
| - name: Install dependencies with composer | ||
| run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi | ||
|
|
||
| - name: Validate database schema | ||
| run: php bin/doctrine orm:validate-schema --skip-sync | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.