-
Notifications
You must be signed in to change notification settings - Fork 16
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
1 parent
2ac4775
commit 214e9bf
Showing
1 changed file
with
32 additions
and
36 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 |
---|---|---|
@@ -1,44 +1,40 @@ | ||
name: Pipeline | ||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
testsuite: | ||
name: Testes Automatizados | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: ['7.4'] | ||
testsuite: | ||
name: Testes Automatizados | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: ["7.4", "8.0", "8.1"] | ||
|
||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
extensions: mbstring, json | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
extensions: mbstring, json | ||
|
||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Composer Install | ||
run: | | ||
composer install --no-progress -o --no-ansi --no-interaction | ||
- name: Check php code style | ||
run: | | ||
composer phpcs | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Análises estáticas | ||
run: | | ||
composer stan | ||
- name: Rodando PHPUnit | ||
run: | | ||
composer test | ||
- name: Composer Install | ||
run: | | ||
composer install --no-progress -o --no-ansi --no-interaction | ||
- name: Check php code style | ||
run: | | ||
composer phpcs | ||
- name: Rodando PHPUnit | ||
run: | | ||
composer test |