Skip to content
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

Workflow fix and tests update #173

Merged
merged 30 commits into from
Dec 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
be19111
added .idea folder into .gitignore
Jul 19, 2024
57f6f6b
added .phpunit.cache folder into .gitignore
Jul 19, 2024
04024e7
phpunit.xml.dist schema updated
Jul 19, 2024
caf72c8
code style
Jul 19, 2024
188967c
PHPUnit replaced by Pest
Jul 19, 2024
6a62ee8
Tests refactoring
Jul 19, 2024
cfd30e9
PHP 8.0 compatibility
Jul 19, 2024
450db0d
github test runner fixed
Jul 19, 2024
9e4153b
PHP CS Fixer added and reconfigured
Jul 19, 2024
2e60a98
PHP CS Fixer configuration rules fix
Jul 19, 2024
83e3070
PHP CS Fixer configuration rules fixed
Jul 19, 2024
df9b024
Update composer.json
Jul 22, 2024
a3d8682
Update composer.json and run-tests.yml
Jul 22, 2024
394e2af
Revert "Update composer.json and run-tests.yml"
Jul 22, 2024
a5d5cc2
Update composer.json
Jul 22, 2024
ee48bd4
removed unused migration
Jul 22, 2024
5cce48e
removed constants and comments in test files
Jul 22, 2024
e03d396
removed DOCBlocks form Pest.php
Jul 22, 2024
9c5f657
removed declare(strict_types=1);
Jul 22, 2024
0fa8621
Fix styling
aon4o Jul 22, 2024
3b436f8
package ServiceProvider updated with spatie/laravel-package-tools
aon4o Jul 22, 2024
42f1b7f
updated README.md
aon4o Jul 22, 2024
76e2d5b
Fix Laravel 8 compatibility
aon4o Jul 22, 2024
b077803
grammar fix README.md
aon4o Jul 22, 2024
57e03e4
Translation loading fix
aon4o Jul 25, 2024
a43c7b5
Fix styling
aon4o Jul 25, 2024
13f0c83
Revert "Fix styling"
aon4o Jul 25, 2024
d8025b4
Revert "Translation loading fix"
aon4o Jul 25, 2024
fd3d116
$this->app['config'] -> config()
aon4o Aug 26, 2024
f0ced13
Merge branch 'main' into main
aon4o Dec 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
github test runner fixed
alex committed Jul 19, 2024
commit 450db0d154e84e8a372e66d26b5e9b6eb87a47a4
98 changes: 49 additions & 49 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
name: run-tests

on:
- push
- pull_request
- push
- pull_request

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1, 8.0]
laravel: ['8.*', '9.*', '10.*', '11.*']
dependency-version: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ 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
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction

- name: Execute tests
run: vendor/bin/phpunit
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ 8.2, 8.1, 8.0 ]
laravel: [ '8.*', '9.*', '10.*', '11.*' ]
dependency-version: [ prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 11.*
testbench: 9.*
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.1
- laravel: 11.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ 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
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction

- name: Execute tests
run: composer test