Skip to content

Commit

Permalink
Disable styleci, to be replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
specialtactics committed Jul 15, 2024
1 parent 9c2ed2a commit fa251a7
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI Tests

on:
pull_request:
push:
branches:
- master
- v*

jobs:
tests:
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
stability: [prefer-stable]
php: [8.1, 8.2]
laravel: [10]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v4

# Docs: https://github.com/shivammathur/setup-php
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
ini-values: error_reporting=E_ALL
tools: composer:v2
# todo: Add
coverage: none

- name: Install dependencies
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
- name: Prepare the application
run: |
php artisan key:generate
- name: Clear Config
run: |
php artisan config:clear
php artisan cache:clear
- name: Run phpunit tests
run: composer test
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ Please go to [The boilerplate wiki](https://github.com/specialtactics/laravel-ap

| Laravel Version | Boilerplate Version | Minimum PHP Version | Support Status |
|-----------------|---------------------|---------------------|----------------|
| 11.x | 6.x.x | 8.2 | Supported |
| 10.x | 5.x.x | 8.1 | Supported |
| 9.x | 4.x.x | 8.0 | Supported |
| 8.x | 3.x.x | 7.3 | Supported |
| 8.x | 3.x.x | 7.3 | Not Supported |
| 7.x | 2.x.x | 7.2.5 | Not Supported |
| 6.x | 1.1.x | 7.2 | Not Supported |

Expand Down

0 comments on commit fa251a7

Please sign in to comment.