Merge pull request #2 from audriga/rien-fix-ci #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: [7.0, 8.2] | |
name: icalendar_vcard php ${{ matrix.php-versions }} unit tests | |
steps: | |
- name: Set up php${{ matrix.php-versions }} | |
uses: shivammathur/setup-php@master | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring, | |
openssl,posix,sqlite,xml,zip,gmp | |
coverage: xdebug | |
- name: Checkout OXP iCalendar_vCard | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
if: ${{ always() && matrix.php-versions == 8.2 }} | |
run: make | |
- name: Install dependencies | |
if: ${{ always() && matrix.php-versions == 7.0 }} | |
run: make php70_mode | |
- name: Run tests | |
if: ${{ always() && matrix.php-versions == 8.2 }} | |
run: make fulltest |