-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Spameri/version-one
Version one
- Loading branch information
Showing
329 changed files
with
8,241 additions
and
8,182 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Package CI | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
checks: | ||
name: Checks | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [ 7.4, 8.0, 8.1 ] | ||
version: [ lowest, standard ] | ||
elastic: [ 7.12.1 ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
|
||
- name: Configure sysctl limits | ||
run: | | ||
sudo swapoff -a | ||
sudo sysctl -w vm.swappiness=1 | ||
sudo sysctl -w fs.file-max=262144 | ||
sudo sysctl -w vm.max_map_count=262144 | ||
- name: Start Elasticsearch | ||
uses: elastic/elastic-github-actions/elasticsearch@master | ||
with: | ||
stack-version: ${{ matrix.elastic }} | ||
|
||
- if: matrix.version == 'lowest' | ||
name: Composer lowest | ||
run: make composer-lowest | ||
|
||
- if: matrix.version == 'standard' | ||
name: Composer standard | ||
run: make composer | ||
|
||
- if: matrix.php == '7.4' | ||
name: Coding standard | ||
run: make cs | ||
|
||
- if: matrix.php == '7.4' && matrix.version == 'lowest' | ||
name: PHPStan lowest | ||
run: make phpstan-lowest | ||
|
||
- if: matrix.php == '7.4' && matrix.version == 'standard' | ||
name: PHPStan standard | ||
run: make phpstan | ||
|
||
- name: Tests | ||
run: make tests | ||
|
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.