Skip to content

feat: add optional parameter for configure ssl algorithm in Singer / #35 #84

feat: add optional parameter for configure ssl algorithm in Singer / #35

feat: add optional parameter for configure ssl algorithm in Singer / #35 #84

Workflow file for this run

# GitHub Action see https://github.com/shivammathur/setup-php
name: Unit Tests
on: [ push, pull_request ]
jobs:
unit_tests:
name: GPWebPay-core (PHP ${{ matrix.php-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
extensions: openssl
coverage: xdebug #optional
- if: "matrix.php <= 7.4"
run: composer update --no-progress --ansi --prefer-lowest
- if: "matrix.php >= 8.0"
uses: "ramsey/composer-install@v1"
- name: Run Tests
run: php vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload Codecov
uses: "codecov/codecov-action@v1"
with:
files: ./coverage.xml