From de3aeddc99a9149c98205ee9deed91d7528a1f09 Mon Sep 17 00:00:00 2001 From: Timothy Rogers Date: Mon, 27 Jul 2020 22:28:05 -0400 Subject: [PATCH] remove phpunit.yml, have no usecase yet --- .github/workflows/phpunit.yml | 51 ----------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/phpunit.yml diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml deleted file mode 100644 index 1e647e0..0000000 --- a/.github/workflows/phpunit.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: PHPUnit - -on: - pull_request: - branches: - - develop - -jobs: - main: - name: Build and test - - strategy: - matrix: - php-versions: ['7.2', '7.3', '7.4'] - - runs-on: ubuntu-latest - - if: "!contains(github.event.head_commit.message, '[ci skip]')" - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP, with composer and extensions - uses: shivammathur/setup-php@master - with: - php-version: ${{ matrix.php-versions }} - tools: composer, pecl, phpunit - extensions: intl, json, mbstring, mysqlnd, xdebug, xml, sqlite3 - coverage: xdebug - - - name: Get composer cache directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache composer dependencies - uses: actions/cache@v1 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Install dependencies - run: composer install --no-progress --no-suggest --no-interaction --prefer-dist --optimize-autoloader - # To prevent rate limiting you may need to supply an OAuth token in Settings > Secrets - # env: - # https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens - # COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} - - - name: Test with phpunit - run: vendor/bin/phpunit --coverage-text