Files
php-curl-class/.github/workflows/ci.yml
T
Zach Borboa b6fdee5360 Run continuous integration on the legacy branch
Run the continuous integration tests of the currently-supported PHP
versions on the legacy branch. This will not test php5.x-master branch
changes under PHP v5.x environments, but may help minimize introducing
bugs in the legacy branch.
2021-06-10 10:44:34 -04:00

34 lines
602 B
YAML

name: ci
on:
push:
branches:
- master
- php5.x-master
pull_request:
schedule:
- cron: '0 17 * * *'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
fail-fast: false
name: PHP ${{ matrix.php }}
steps:
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Checkout
uses: actions/checkout@v2
- name: Test
run: bash tests/ci.sh
env:
CI_PHP_VERSION: ${{ matrix.php }}