Entry Gallerey operations and info for AI Assistant #426
This file contains hidden or 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: Tests | |
| on: ["push", "pull_request"] | |
| jobs: | |
| laravel-tests: | |
| runs-on: ubuntu-latest | |
| name: Laravel API Tests | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.3 | |
| tools: composer:v2 | |
| coverage: xdebug | |
| - name: Install Dependencies | |
| run: composer install --no-interaction --prefer-dist --optimize-autoloader --working-dir=_api_app | |
| - name: Tests | |
| run: cd _api_app && ./vendor/bin/pest --ci | |
| angular-tests: | |
| runs-on: ubuntu-latest | |
| name: Angular Editor Tests | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| cache-dependency-path: editor/package-lock.json | |
| - name: Install Dependencies | |
| run: cd editor && npm ci | |
| - name: Run Tests | |
| run: cd editor && npm test -- --watch=false --browsers=ChromeHeadless |