-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 934 Bytes
/
main.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: "Studio PHP SDK"
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
env:
PY_SDK_STAGING_KEY: ${{ secrets.PHP_SDK_STAGING_KEY }}
SKYLAB_API_URL: ${{ secrets.SKYLAB_API_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install libvips
run: sudo apt install libvips-dev --no-install-recommends
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
ini-values: zend.max_allowed_stack_size=-1
tools: composer:v2
coverage: none
ini-file: production
- name: Update system
run: sudo apt-get update
- name: Install dependencies
run: composer install
- name: Run phpunit
run: vendor/bin/phpunit tests