Skip to content

fix: improve auto env loader (#6) #47

fix: improve auto env loader (#6)

fix: improve auto env loader (#6) #47

Workflow file for this run

name: PHPUnit Test
on:
push:
pull_request:
concurrency:
group: test
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
- name: Create Environments
run: echo "${{ secrets.TEST_ENV_VARIABLES }}" > .env
- name: Install and update Composer packages
run: composer run-script install-dependencies
- name: Run test suite
run: composer run-script phpunit-test