Skip to content

Commit

Permalink
Merge pull request #38 from sagautam5/fix-php-unit-pipeline-issues
Browse files Browse the repository at this point in the history
update pipeline
  • Loading branch information
sagautam5 authored Apr 7, 2024
2 parents 77dacb8 + a219323 commit 6acda38
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@ on: [push]

jobs:
build:
name: PHP Composer
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v2

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'

- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 8.0
version: 1
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-interaction

# - name: PHPUnit tests
# uses: php-actions/phpunit@master
# with:
# bootstrap: vendor/autoload.php
# configuration: phpunit.xml
# php_version: 7.0
# version: 4.0.0
# args: --coverage-text
- name: Run PHPUnit tests
run: vendor/bin/phpunit

0 comments on commit 6acda38

Please sign in to comment.