Skip to content

Commit

Permalink
jenkins ci to github actions (#114)
Browse files Browse the repository at this point in the history
* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions

* jenkins CI to GH actions
  • Loading branch information
pmallampati-sift authored Jun 21, 2024
1 parent f2cdac9 commit bc716a8
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: PHP Composer

on:
push:
branches:
- master
pull_request:
branches:
- master

env:
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
API_KEY: ${{ secrets.API_KEY }}

jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '7.1.27', '7.2.16', '7.3.3', '7.4.25' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Validate composer.json and composer.lock
run: |
sudo composer self-update
- run: |
composer install --prefer-dist --no-progress
- name: siftPhpTest
run: |
composer exec phpunit -v
run-integration-tests-php74:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup php74
uses: shivammathur/setup-php@v2
with:
php-version: '7.4.25'
- run: |
composer install --prefer-dist --no-progress
- run: |
php test_integration_app/main.php

0 comments on commit bc716a8

Please sign in to comment.