-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 908 Bytes
/
test_v1.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
40
name: Test V1
on:
push:
branches:
- v1
schedule:
- cron: '15 5 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: [ 8.1 ]
steps:
- uses: actions/checkout@v2
with:
ref: v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
#extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, redis
tools: composer:v2
coverage: none
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run unit and functional tests
run: |
php vendor/bin/phpunit --stop-on-failure
env:
STORAGENAME: ${{ secrets.STORAGENAME }}
APIKEY: ${{ secrets.APIKEY }}