![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/dceprojects.corals.io/vendor/vierbergenlars/php-semver/.github/workflows/ |
name: tests on: push: branches: [ 2.x, master ] pull_request: branches: [ 2.x, master ] jobs: tests: strategy: matrix: php-versions: ['7.3', '7.4', '8.0', '8.1'] runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-php- - name: Install dependencies uses: php-actions/composer@v6 with: version: 2 php_version: ${{ matrix.php-versions }} - name: Run test suite run: vendor/bin/phpunit