-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated PHP requirements to >= 8.0 * Updated Codeception to ^5 * Enabled `SecureSocketCest::sendSMTPMessageOverSecureSocket` since it is functional, but added a stopgap in case SSL is not configured correctly since the actual error message is garbled * Rewrote the development guidelines * Removed Travis and added Github Actions
- Loading branch information
Showing
25 changed files
with
497 additions
and
3,051 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,34 @@ | ||
name: Codeception tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: ${{matrix.operating-system}}, PHP ${{ matrix.php }} | ||
|
||
runs-on: ${{ matrix.operating-system }} | ||
|
||
strategy: | ||
matrix: | ||
operating-system: [ ubuntu-latest, ubuntu-20.04 ] | ||
php: [ '8.0', '8.1' ] | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup PHP | ||
uses: nanasess/setup-php@master | ||
with: | ||
php-version: ${{ matrix.php }} | ||
|
||
- name: Install dependencies | ||
run: composer install | ||
|
||
- name: Start smtp-sink | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt-get install -y -qq postfix | ||
smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 & | ||
- name: Run tests | ||
run: php vendor/bin/codecept run |
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 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
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.