Skip to content

Fix dynamically applying discounts #1419

Fix dynamically applying discounts

Fix dynamically applying discounts #1419

name: Scout DB Engine Postgres Tests
on:
pull_request:
defaults:
run:
working-directory: ./utils/scout-database-engine
jobs:
phpunit:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.1
services:
postgres:
image: postgres:10.8
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
POSTGRES_DB: test
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Run Testsuite
run: DB_CONNECTION=pgsql DB_HOST=postgres vendor/bin/phpunit