Skip to content

Commit

Permalink
jenkins CI to GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmallampati-sift committed Jun 20, 2024
1 parent 91bc8cc commit 4e4a903
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,26 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./sift-php
steps:
- name: setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.1.27'
- name: Validate composer.json and composer.lock
working-directory: ./sift-php
run: |
composer validate --strict
- name: Cache Composer packages
id: composer-cache
working-directory: ./sift-php
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: siftPhpTest
working-directory: ./sift-php
run: composer exec phpunit -v

run-integration-tests-php74:
Expand Down

0 comments on commit 4e4a903

Please sign in to comment.