Skip to content

STD-1 with github secret name #19

STD-1 with github secret name

STD-1 with github secret name #19

Workflow file for this run

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:
PHP_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