Added support for SCRAM-SHA-*, SCRAM-SHA3-* #39
Workflow file for this 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
name: Integration Tests | |
on: [push, pull_request] | |
jobs: | |
integrationtest: | |
runs-on: ubuntu-latest | |
name: Behat | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
- name: Cache Composer packages | |
id: composer-cache | |
uses: actions/cache@v2 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-php- | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run containers | |
run: docker-compose up -d --quiet-pull | |
- name: Wait for XMPP to become available | |
uses: iFaxity/wait-on-action@v1 | |
with: | |
resource: tcp:localhost:15222 | |
timeout: 1800000 | |
interval: 10000 | |
delay: 60000 | |
log: true | |
- name: Run test suite | |
run: ./vendor/bin/behat | |
- name: Stop containers | |
if: always() | |
run: docker-compose down --volumes |