Skip to content

STD-1 php sdk actions workflow #1

STD-1 php sdk actions workflow

STD-1 php sdk actions workflow #1

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:
PY_SDK_STAGING_KEY: ${{ secrets.PHP_SDK_STAGING_KEY }}
SKYLAB_API_URL: ${{ secrets.SKYLAB_API_URL }}
steps:
- uses: php-actions/composer@v6
- uses: php-actions/phpunit@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
tools: none
- name: Checkout code
uses: actions/checkout@v4
- name: Update system
run: sudo apt-get update
- name: Install dependencies
run: composer install
- name: Run phpunit
run: phpunit tests