Skip to content

Set default value for EXTERNAL_TEAM_API_URL environment key #150

Set default value for EXTERNAL_TEAM_API_URL environment key

Set default value for EXTERNAL_TEAM_API_URL environment key #150

Workflow file for this run

name: Tests
on: ["push", "pull_request"]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
tools: composer:v2
coverage: xdebug
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Copy environment
run: cp .env.testing .env
- name: Set up encryption key
run: php artisan key:generate --ansi --env=testing
- name: Run tests
run: ./vendor/bin/pest --ci