fix - actions #21
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: Test and Deploy Application | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: 8.3 | |
extensions: mbstring, ctype, fileinfo, openssl, PDO, bcmath, json, tokenizer, xml | |
tools: composer:v2 | |
coverage: xdebug | |
- name: Composer install | |
run: | | |
composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: Install Dependencies | |
run: | | |
npm install | |
npm run build | |
- name: Stan | |
run: | | |
make stan | |
- name: Tests | |
run: | | |
touch database/database.sqlite | |
make test |