Skip to content

[BSS-46] GetFollowers, GetProfiles, CreateRecord and PostBuilder API #79

[BSS-46] GetFollowers, GetProfiles, CreateRecord and PostBuilder API

[BSS-46] GetFollowers, GetProfiles, CreateRecord and PostBuilder API #79

Workflow file for this run

name: PHP Workflow
on:
push:
branches: [ "main", "development" ]
pull_request:
branches: [ "main", "development" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1']
name: PHP ${{ matrix.php-version }} Test
env:
BLUESKY_IDENTIFIER: ${{ secrets.BLUESKY_IDENTIFIER }}
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
- name: Cache dependencies
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install Dependencies
run: composer install --prefer-dist --no-progress
- name: Run Unit Tests
run: composer run-script test-unit
- name: Run Feature Tests
run: composer run-script test-feature
- name: Static Analyse
run: composer run-script analyse