Skip to content

Bump dependabot/fetch-metadata from 2.5.0 to 3.1.0 #459

Bump dependabot/fetch-metadata from 2.5.0 to 3.1.0

Bump dependabot/fetch-metadata from 2.5.0 to 3.1.0 #459

Workflow file for this run

on: push
name: CI
jobs:
phpunit:
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2
services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: test_db
ports:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install composer dependencies
run: |
composer install --no-scripts
- name: Setup .env file
run: |
cp .env.ci .env
echo STRIPE_KEY=${{secrets.STRIPE_KEY}} >> .env
echo STRIPE_SECRET=${{secrets.STRIPE_SECRET}} >> .env
echo STRIPE_WEBHOOK_SECRET=${{secrets.STRIPE_WEBHOOK_SECRET}} >> .env
- name: Prepare Laravel Application
run: |
php artisan key:generate
php artisan --version
- name: Migrate database
run: |
mysql --version
php artisan migrate
- name: Execute tests
run: composer test