-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: switch to shivammathur/setup-php --------- Co-authored-by: Sebastian <sebastian@polarstern-energie.de>
- Loading branch information
Showing
30 changed files
with
583 additions
and
910 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: fix php code style issues | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
php-code-styling: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Fix PHP code style issues | ||
uses: aglipanci/laravel-pint-action@2.3.0 | ||
|
||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Fix styling |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: run-tests | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
php: [ 8.1 ] | ||
laravel: [ 10.* ] | ||
stability: [ prefer-stable ] | ||
include: | ||
- laravel: 10.* | ||
testbench: 7.* | ||
|
||
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, xdebug | ||
coverage: xdebug | ||
|
||
- name: Grant write permission to root | ||
run: | ||
chmod +w ./ | ||
|
||
- name: Install composer dependencies | ||
run: composer install --no-scripts | ||
|
||
- name: Prepare Laravel Application | ||
run: | | ||
php -r "file_exists('.env') || copy('.env.testing.example', '.env.testing');" | ||
php artisan key:generate --env=testing | ||
- name: Execute tests | ||
run: vendor/bin/pest --configuration phpunit.xml | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: build/logs/clover.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,5 @@ storage/*.key | |
/data/redis/ | ||
/public/build/ | ||
/.phpunit.cache/ | ||
/build/ | ||
solawi |
49 changes: 0 additions & 49 deletions
49
database/migrations/2014_10_12_000000_create_users_table.php
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
database/migrations/2014_10_12_100000_create_password_resets_table.php
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
database/migrations/2019_08_19_000000_create_failed_jobs_table.php
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.