Store locations #21
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: Test | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
phpunit: | |
runs-on: ubuntu-latest | |
container: | |
image: kirschbaumdevelopment/laravel-test-runner:8.1 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: '**/vendor' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/composer.lock') }} | |
- name: Install composer dependencies | |
run: | | |
composer install --no-scripts | |
- name: Prepare Laravel Application | |
run: | | |
cp .env.ci .env | |
touch database/database.sqlite | |
php artisan key:generate | |
php artisan migrate | |
- name: Run Testsuite | |
run: vendor/bin/phpunit tests/ |