Skip to content

Fix HTML encoding in task name #88

Fix HTML encoding in task name

Fix HTML encoding in task name #88

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4.33'
extensions: mbstring, sqlite3
- name: Install dependencies
run: composer install --no-interaction
- name: Create .env file
run: |
cp .env.example .env
echo "DB_CONNECTION=${{ vars.DB_CONNECTION }}" >> .env
echo "DB_HOST=${{ vars.DB_HOST }}" >> .env
echo "DB_PORT=${{ vars.DB_PORT }}" >> .env
echo "DB_DATABASE=${{ vars.DB_DATABASE }}" >> .env
echo "DB_USERNAME=${{ vars.DB_USERNAME }}" >> .env
echo "DB_PASSWORD=${{ vars.DB_PASSWORD }}" >> .env
# Ajoutez autant de variables que nécessaire
env:
DB_CONNECTION: ${{ vars.DB_CONNECTION }}
DB_HOST: ${{ vars.DB_HOST }}
DB_PORT: ${{ vars.DB_PORT }}
DB_DATABASE: ${{ vars.DB_DATABASE }}
DB_USERNAME: ${{ vars.DB_USERNAME }}
DB_PASSWORD: ${{ vars.DB_PASSWORD }}
- name: Generate application key
run: php artisan key:generate
- name: Run tests
run: php artisan test