From d1c6617dc95da85428535985c347f89cb19c894e Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 20 May 2022 09:21:23 +0000 Subject: missing files after composer updates --- .../oauth2-server-php/.github/workflows/tests.yml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 vendor/bshaffer/oauth2-server-php/.github/workflows/tests.yml (limited to 'vendor/bshaffer/oauth2-server-php/.github/workflows') diff --git a/vendor/bshaffer/oauth2-server-php/.github/workflows/tests.yml b/vendor/bshaffer/oauth2-server-php/.github/workflows/tests.yml new file mode 100644 index 000000000..958f65765 --- /dev/null +++ b/vendor/bshaffer/oauth2-server-php/.github/workflows/tests.yml @@ -0,0 +1,55 @@ +name: Test Suite +on: + push: + branches: + - master + pull_request: +jobs: + test: + runs-on: ubuntu-latest + services: + redis: + image: redis + ports: + - 6379:6379 + options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 + mongodb: + image: mongo + ports: + - 27017:27017 + myriadb: + image: mariadb + env: + MYSQL_ROOT_PASSWORD: root + ports: + - 3808:3808 + - 3306:3306 + postgres: + image: postgres + env: + POSTGRES_DB: oauth2_server_php + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + ports: + - 5432:5432 + options: --health-cmd="pg_isready -h localhost" --health-interval=10s --health-timeout=5s --health-retries=5 + strategy: + matrix: + php: [ 7.1, 7.2, 7.3, 7.4, "8.0", 8.1 ] + name: "PHP ${{ matrix.php }} Unit Test" + steps: + - uses: actions/checkout@v2 + - uses: codecov/codecov-action@v1 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: mongodb, mbstring, intl, redis, pdo_mysql + - name: Install composer dependencies + uses: nick-invision/retry@v1 + with: + timeout_minutes: 10 + max_attempts: 3 + command: composer install + - name: Run PHPUnit + run: vendor/bin/phpunit -v -- cgit v1.2.3