-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Randy Geraads
committed
Nov 29, 2023
1 parent
7c22b53
commit 652abfe
Showing
2 changed files
with
7 additions
and
13 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: [ push ] | |
|
||
jobs: | ||
build: | ||
runs-on: [ ubuntu-latest ] | ||
runs-on: ubuntu-latest | ||
name: Run CI suite | ||
env: | ||
DATABASE_URL: 'mysql://root:[email protected]:3306/app' | ||
|
@@ -22,11 +22,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.2' | ||
extensions: mysql | ||
- name: Build the stack | ||
run: make setup | ||
|
||
- name: The PHP Security Checker | ||
uses: symfonycorp/security-checker-action@v5 | ||
|
@@ -44,13 +41,10 @@ jobs: | |
${{ runner.os }}-composer- | ||
- name: Install dependencies | ||
run: composer install --no-progress --ansi | ||
run: make dependencies | ||
|
||
- name: Run cs-fixer | ||
run: vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --ansi | ||
run: make qa | ||
|
||
- name: Run tests | ||
run: bin/phpunit | ||
|
||
- name: Run phpstan | ||
run: vendor/bin/phpstan analyse --no-progress --ansi | ||
run: make test |
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