diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..178d36f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + php-version: + - "7.4" + - "8.0" + - "8.1" + - "8.2" + + steps: + - name: Checkout repository + uses: actions/checkout@v7 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + coverage: none + + - name: Composer install + run: composer install + + - name: PHPUnit + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index ed7cdd8..d788ab1 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,7 @@ "packaged/helpers": "^1.0||^2.0" }, "require-dev": { - "phpunit/phpunit": "~8.0", - "satooshi/php-coveralls": "~1.0.0" + "phpunit/phpunit": "~8.0" }, "autoload": { "psr-4": {