aggiunta data nel nome delle ricevute #714
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: Tests | |
on: [push] | |
jobs: | |
phpunit: | |
name: PHPUnit | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 | |
- name: setup php | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
- name: running tests | |
run: | | |
cd code | |
composer install --no-interaction --no-progress --prefer-dist | |
sudo locale-gen it_IT.UTF-8 | |
sudo update-locale LANG=it_IT.UTF-8 | |
cp .env.example .env | |
php artisan key:generate | |
php vendor/bin/phpunit | |
php vendor/bin/phpstan |