-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/captainhook
- Loading branch information
Showing
27 changed files
with
853 additions
and
976 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
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 |
---|---|---|
|
@@ -27,16 +27,16 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout repository" | ||
uses: "actions/checkout@v3.3.0" | ||
uses: "actions/checkout@v4" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@2.23.0" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "latest" | ||
coverage: "none" | ||
|
||
- name: "Install dependencies (Composer)" | ||
uses: "ramsey/composer-install@2.2.0" | ||
uses: "ramsey/composer-install@v3" | ||
|
||
- name: "Check syntax (php-parallel-lint)" | ||
shell: "bash" | ||
|
@@ -51,16 +51,16 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout repository" | ||
uses: "actions/checkout@v3.3.0" | ||
uses: "actions/checkout@v4" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@2.23.0" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "latest" | ||
coverage: "none" | ||
|
||
- name: "Install dependencies (Composer)" | ||
uses: "ramsey/composer-install@2.2.0" | ||
uses: "ramsey/composer-install@v3" | ||
|
||
- name: "Statically analyze code (PHPStan)" | ||
shell: "bash" | ||
|
@@ -72,24 +72,24 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: "Checkout repository" | ||
uses: "actions/checkout@v3.3.0" | ||
uses: "actions/checkout@v4" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@2.23.0" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "latest" | ||
coverage: "pcov" | ||
ini-values: "memory_limit=-1" | ||
|
||
- name: "Install dependencies (Composer)" | ||
uses: "ramsey/composer-install@2.2.0" | ||
uses: "ramsey/composer-install@v3" | ||
|
||
- name: "Run unit tests (PHPUnit)" | ||
shell: "bash" | ||
run: "composer dev:test:coverage:ci" | ||
|
||
- name: "Publish coverage report to Codecov" | ||
uses: "codecov/codecov-action@v3.1.1" | ||
uses: "codecov/codecov-action@v5" | ||
|
||
unit-tests: | ||
name: "Unit tests" | ||
|
@@ -103,6 +103,7 @@ jobs: | |
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
- "8.4" | ||
operating-system: | ||
- "macos-latest" | ||
- "ubuntu-latest" | ||
|
@@ -123,16 +124,16 @@ jobs: | |
git config --system core.eol lf | ||
- name: "Checkout repository" | ||
uses: "actions/checkout@v3.3.0" | ||
uses: "actions/checkout@v4" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@2.23.0" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
coverage: "none" | ||
|
||
- name: "Install dependencies (Composer)" | ||
uses: "ramsey/composer-install@2.2.0" | ||
uses: "ramsey/composer-install@v3" | ||
with: | ||
dependency-versions: "${{ matrix.dependencies }}" | ||
|
||
|
@@ -152,26 +153,33 @@ jobs: | |
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
- "8.4" | ||
|
||
steps: | ||
- name: "Checkout repository" | ||
uses: "actions/[email protected]" | ||
uses: "actions/checkout@v4" | ||
with: | ||
submodules: recursive | ||
|
||
- name: "Install bats-core" | ||
run: | | ||
git clone https://github.com/bats-core/bats-core.git | ||
sudo ./bats-core/install.sh /usr/local | ||
- name: "Install expect" | ||
shell: "bash" | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get -y install expect | ||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@2.23.0" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
coverage: "none" | ||
|
||
- name: "Install dependencies (Composer)" | ||
uses: "ramsey/composer-install@2.2.0" | ||
uses: "ramsey/composer-install@v3" | ||
|
||
- name: "Run functional tests" | ||
shell: "bash" | ||
run: "composer test-functional" | ||
run: "composer dev:test:functional" |
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,6 @@ | ||
[submodule "tests/test_helper/bats-assert"] | ||
path = tests/test_helper/bats-assert | ||
url = https://github.com/bats-core/bats-assert.git | ||
[submodule "tests/test_helper/bats-support"] | ||
path = tests/test_helper/bats-support | ||
url = https://github.com/bats-core/bats-support.git |
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.