Skip to content

Commit

Permalink
fix workflow , set working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudioVarandas committed Mar 3, 2024
1 parent fd06bc6 commit d8f9fdf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lws-poc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
php-version: '8.2'
- uses: actions/checkout@v3
- name: Copy .env
run: php -r "file_exists('./servers-api/.env') || copy('./servers-api/.env.example', './servers-api/.env');"
working-directory: ./servers-api
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
working-directory: ./servers-api
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Generate key
working-directory: ./servers-api
run: php artisan key:generate
- name: Directory Permissions
working-directory: ./servers-api
run: chmod -R 777 storage bootstrap/cache
- name: Execute tests (Unit and Feature tests) via PHPUnit
working-directory: ./servers-api
run: vendor/bin/phpunit

0 comments on commit d8f9fdf

Please sign in to comment.