Skip to content

Se documentan los campos de los casos. Se agregan nuevos casos. #25

Se documentan los campos de los casos. Se agregan nuevos casos.

Se documentan los campos de los casos. Se agregan nuevos casos. #25

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
tests:
name: Tests
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
php-version: ['8.2', '8.3']
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: curl, json, mbstring, openssl, soap, xdebug
tools: composer
- name: Install Dependencies
run: composer install --no-progress --no-suggest --prefer-dist
- name: Run PHPUnit
run: composer tests
- name: Upload PHPUnit result report
if: failure()
uses: actions/upload-artifact@v4
with:
name: tests-testdox-php_${{ matrix.php-version }}.txt
path: var/tests-testdox.txt
- name: Upload Coverage Report
uses: actions/upload-artifact@v4
with:
name: tests-coverage-php_${{ matrix.php-version }}.txt
path: var/tests-coverage.txt
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: var/tests-coverage.xml
fail_ci_if_error: true
verbose: true
- name: Display PHP version
run: php -v