Skip to content

Commit

Permalink
Fix grammar in Tests Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamara committed Mar 19, 2024
1 parent caed941 commit 207623f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP, with composer and extensions
- name: Setup PHP, with Composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, fileinfo
coverage: none
- name: Get composer cache directory
- name: Get Composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
Expand All @@ -32,25 +32,25 @@ jobs:
restore-keys: ${{ runner.os }}-composer-
- name: Install Composer dependencies
run: composer install -q --no-progress --prefer-dist --optimize-autoloader
- name: Prepare Environment
- name: Prepare environment
run: |
cp .env.example .env
sed -i "s/DB_PASSWORD=/DB_PASSWORD=secret/g" .env
- name: Clear config cache
run: php artisan config:clear
- name: Generate key
run: php artisan key:generate -q -n
- name: Migrate & Seed Database
- name: Migrate & seed database
run: php artisan migrate --seed --force
- name: Change Directory Permissions
- name: Change directory permissions
run: chmod -R 777 storage bootstrap/cache
- name: Install javascript packages
- name: Install JavaScript packages
run: npm install --quiet --no-progress
- name: Build javascript packages
- name: Build JavaScript packages
run: npm run build
- name: Run Laravel Server
- name: Run Laravel server
run: php artisan serve --port=3000 --no-reload &
- name: curl to localhost
- name: Curl to localhost
run: curl localhost:3000 &
- name: Run Tests
- name: Run tests
run: php artisan test ${{ env.PHPUNIT_FLAGS }}

0 comments on commit 207623f

Please sign in to comment.