Skip to content

Make SetBrandID protected #244

Make SetBrandID protected

Make SetBrandID protected #244

Workflow file for this run

name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .env
run: cp .env.example .env
- name: Replace placeholders with GitHub Secrets
run: |
sed -i "s/BLUEM_SENDER_ID=S/BLUEM_SENDER_ID=${{ secrets.BLUEM_SENDER_ID }}/g" .env
sed -i "s/BLUEM_TEST_ACCESS_TOKEN=/BLUEM_TEST_ACCESS_TOKEN=${{ secrets.BLUEM_TEST_ACCESS_TOKEN }}/g" .env
- name: Run composer
uses: php-actions/composer@v5
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
version: 9.5
php_version: 8.1
bootstrap: ./vendor/autoload.php
configuration: ./.github/workflows/phpunit.xml