Skip to content

Fix parallel running for multiple experiments (#34) #58

Fix parallel running for multiple experiments (#34)

Fix parallel running for multiple experiments (#34) #58

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
abrouter-tests-php-74:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.4']
redis-version: [ 4, 5, 6 ]
phpunit-versions: ['latest']
include:
- operating-system: 'ubuntu-latest'
php-versions: '7.4'
env:
REDIS_HOST: 127.0.0.1
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-php@master
with:
php-version: '7.4'
- name: Update Composer
run: sudo composer self-update 1.10.15 --no-interaction
- name: Run Composer Install
run: composer install --no-interaction
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
with:
redis-version: 6
redis-container-name: redis
- name: run tests
run: vendor/bin/phpunit
abrouter-tests-php-80:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.0']
phpunit-versions: ['latest']
include:
- operating-system: 'ubuntu-latest'
php-versions: '8.0'
env:
REDIS_HOST: 127.0.0.1
steps:
- uses: actions/checkout@v2
- uses: nanasess/setup-php@master
with:
php-version: '8.0'
- name: Update Composer
run: sudo composer self-update 1.10.15 --no-interaction
- name: Run Composer Install
run: composer install --no-interaction
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
with:
redis-version: 6
redis-container-name: redis
- name: run tests
run: vendor/bin/phpunit