-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (35 loc) · 1.17 KB
/
tests_05_b.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: "PHP bindings tests 05_b"
on:
pull_request:
workflow_dispatch:
jobs:
tests-05_b:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0.9']
env:
BIGML_USERNAME: ${{ secrets.BIGML_USERNAME }}
BIGML_API_KEY: ${{ secrets.BIGML_API_KEY }}
BIGML_ORGANIZATION: ${{ secrets.BIGML_ORGANIZATION }}
BIGML_EXTERNAL_CONN_HOST: ${{ secrets.BIGML_EXTERNAL_CONN_HOST }}
BIGML_EXTERNAL_CONN_PORT: ${{ secrets.BIGML_EXTERNAL_CONN_PORT }}
BIGML_EXTERNAL_CONN_DB: ${{ secrets.BIGML_EXTERNAL_CONN_DB }}
BIGML_EXTERNAL_CONN_USER: ${{ secrets.BIGML_EXTERNAL_CONN_USER }}
BIGML_EXTERNAL_CONN_PWD: ${{ secrets.BIGML_EXTERNAL_CONN_PWD }}
BIGML_DELTA: 5
steps:
- name: Install packages
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9.3.0
- name: Run tests *05_b*
run: |
composer update
cd tests
export TESTS=$(for t in "05_b"; do ls *$t*.php;done|paste -sd " ")
echo $TESTS
for t in $TESTS; do phpunit --debug $t;done