diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d26069..142b5a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,27 +1,24 @@ -name: PHPUnit +name: CI -on: [push, pull_request] +on: [pull_request] jobs: - build: - name: Run tests on ${{ matrix.php }} + test: + name: Run tests runs-on: ubuntu-latest - strategy: - matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] - steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php }} + php-version: '7.3' + tools: phpunit - - name: Composer Install - run: composer install + - name: Install dependencies + run: composer install --prefer-dist --no-progress - - name: Run Tests - run: vendor/bin/phpunit + - name: Run tests + run: phpunit diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6fe4c20..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: php -php: - - 5.4 - - 5.5