Skip to content

Merge pull request #73 from Jeroenhulshof/master #235

Merge pull request #73 from Jeroenhulshof/master

Merge pull request #73 from Jeroenhulshof/master #235

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