From 207623fab5f2700fa5c4ab6a340ea9fc8ef66002 Mon Sep 17 00:00:00 2001 From: kkamara Date: Tue, 19 Mar 2024 18:12:26 +0000 Subject: [PATCH] Fix grammar in Tests Pipeline --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 594dfd7..f0e62ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -32,7 +32,7 @@ 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 @@ -40,17 +40,17 @@ jobs: 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 }} \ No newline at end of file