Skip to content

Merge pull request #6 from svenluijten/alpha2 #212

Merge pull request #6 from svenluijten/alpha2

Merge pull request #6 from svenluijten/alpha2 #212

name: tempest/clean QA trigger from tempest/framework
on:
push:
branches: [main]
schedule:
- cron: '0 8 * * *'
jobs:
run-qa:
name: Run QA
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: pcov
- name: Init composer
run: composer init -ns dev
- name: Require Tempest
run: composer require tempest/framework:1.0-alpha2
- name: List Installed Dependencies
run: composer show -D
- name: Install Tempest
run: php vendor/bin/tempest install --force
- name: Run Tempest console
run: php ./tempest
- name: Run Tempest Server in the background
run: php ./tempest serve &
- name: Try GET request
run: curl http://localhost:8000