Skip to content

Commit

Permalink
fix: release-please test
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Mar 14, 2024
1 parent 988ddfd commit ad0f34a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ on:

jobs:
php-unit-test:
name: Run test
name: Run tests
runs-on: ubuntu-latest
container:
image: kirschbaumdevelopment/laravel-test-runner:8.2


services:
postgres:
image: postgres:13
Expand All @@ -25,12 +23,18 @@ jobs:

steps:
- uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
fetch-depth: 1
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, bcmath, soap, intl, gd, exif, iconv
coverage: pcov

- name: Install composer dependencies
run: |
composer install --ignore-platform-reqs
- name: Prepare Laravel Application
run: |
php -r "file_exists('.env') || copy('.env.ci.test', '.env');"
Expand All @@ -46,12 +50,14 @@ jobs:
php artisan key:generate
php artisan migrate --seed
- name: Install front-end dependencies
run: |
npm install
npm run build
- name: Run Test
run: php artisan test --parallel
- name: Run tests
run: vendor/bin/phpunit

release-please:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ad0f34a

Please sign in to comment.