test: Added Files to Help in Bootstraping Testing #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Build | |
on: | |
push: | |
branches: [ main , dev] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.3 | |
extensions: mbstring, sqlsrv, iconv | |
tools: phpunit, composer | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Move to Tests Directory | |
run: ls | |
- name: Execute Tests | |
run: phpunit --configuration phpunit.xml |