10 add intellisense or intellisense like functionality #9
Workflow file for this run
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: UnitTests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
pgetinker-tests: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install and Build NodeJS dependencies | |
run: npm install && npm run build | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite | |
coverage: none | |
- name: Install Composer dependencies | |
run: composer install --prefer-dist --no-interaction --no-progress | |
- name: Copy environment file | |
run: cp .env.example .env | |
- name: Build Library Objects | |
run: bash build-libs.sh | |
- name: Generate app key | |
run: php artisan key:generate | |
- name: Create Database File | |
run: touch database/database.sqlite | |
- name: Initial Database Migration | |
run: php artisan migrate | |
- name: Execute tests | |
run: php artisan test | |