Skip to content

jenkins CI to GH actions #27

jenkins CI to GH actions

jenkins CI to GH actions #27

Workflow file for this run

name: PHP Composer
on:
push:
branches:
- "*"
pull_request:
branches:
- master
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
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: composer-v1-{{ checksum "composer.lock" }}
restore-keys: |
composer-v1-
- run: |
composer install --prefer-dist --no-progress
- name: siftPhpTest
run: |
composer exec phpunit -v
run-integration-tests-php74:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup php74
uses: shivammathur/setup-php@v2
with:
php-version: '7.4.25'
- name: run-integration-tests
run: |
php test_integration_app/main.php

Check failure on line 53 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 53