Skip to content

Commit

Permalink
[WIP][FEATURE] Add new project builder script
Browse files Browse the repository at this point in the history
Do not use docker composer anymore
  • Loading branch information
christianfutterlieb committed May 2, 2024
1 parent c0c70f2 commit 288009e
Show file tree
Hide file tree
Showing 5 changed files with 473 additions and 157 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,49 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v3
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lintPhp
run: Build/Scripts/builder.sh -p ${{ matrix.php }} lint:php
- name: Composer validate
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerValidate
run: Build/Scripts/builder.sh -p ${{ matrix.php }} composer:validate
composer:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
run: Build/Scripts/builder.sh -p ${{ matrix.php }} composer:install
cgl:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
run: Build/Scripts/builder.sh -p ${{ matrix.php }} composer:install
- name: CGL check
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -n -s cgl
run: Build/Scripts/builder.sh -p ${{ matrix.php }} -n test:qa:cgl
- name: PHPStan
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s phpstan
run: Build/Scripts/builder.sh -p ${{ matrix.php }} test:qa:phpstan
# - name: Rector
# run: Build/Scripts/builder.sh -p ${{ matrix.php }} test:qa:rector
testsuite:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
php: [ '8.1', '8.2', '8.3' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Composer update
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s composerUpdate
run: Build/Scripts/builder.sh -p ${{ matrix.php }} composer:install
- name: Unit testing
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s unit
run: Build/Scripts/builder.sh -p ${{ matrix.php }} test:unit
Loading

0 comments on commit 288009e

Please sign in to comment.