Added comment since we have no assertions #19
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
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 |