jorisros/iptools

View on GitHub
.github/workflows/tests.yaml

Summary

Maintainability
Test Coverage
name: run-tests
run-name: ${{ github.actor }} made changes
on: [push]
jobs:
  run:    
    runs-on: ${{ matrix.operating-system }}
    strategy:
      matrix:
        operating-system: [ubuntu-latest]
        php-versions: ['7.2', '7.3', '7.4','8.0','8.1','8.2']
    name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Install PHP
      uses: shivammathur/setup-php@v2
      with:
        php-version: ${{ matrix.php-versions }}
        extensions: intl #optional
        ini-values: "post_max_size=256M" #optional
    - name: Check PHP Version
      run: php -v
    - name: Composer
      uses: php-actions/composer@v6
    - name: Tests
      uses: php-actions/phpunit@v3
      with:
        args: tests
        php_version: ${{ matrix.php-versions }}
        version: 8