diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d90bf62..f8ae8ad 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,38 +25,37 @@ jobs: - 6333:6333 steps: - - name: Checkout project - uses: actions/checkout@v2 - - - name: Install and configure PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-version }} - tools: 'composer' - - - name: Get composer cache directory - id: composer-cache-dir - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Cache dependencies - uses: actions/cache@v2 - id: composer-cache - with: - path: ${{ steps.composer-cache-dir.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} - restore-keys: | - ${{ runner.os }}-composer- - - name: Install dependencies - run: | - composer validate --strict - composer install --no-interaction --prefer-dist - - name: Run tests - run: vendor/bin/phpunit --coverage-clover=coverage.xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml - flags: unittests - verbose: true + - name: Checkout project + uses: actions/checkout@v2 + + - name: Install and configure PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + tools: 'composer' + + - name: Get composer cache directory + id: composer-cache-dir + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + id: composer-cache + with: + path: ${{ steps.composer-cache-dir.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- + + - name: Install dependencies + run: | + composer validate --strict + composer install --no-interaction --prefer-dist + + - name: Run tests + run: vendor/bin/phpunit --coverage-clover=coverage.xml + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 3af950b..fcc6a6d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Test Application](https://github.com/your1/qdrant-php7/actions/workflows/test.yaml/badge.svg)](https://github.com/your1/qdrant-php7/actions/workflows/test.yaml) [![codecov](https://codecov.io/github/your1/qdrant-php7/branch/main/graph/badge.svg?token=5K8FAI0C9B)](https://codecov.io/github/your1/qdrant-php) -This library is a PHP 7.x Client for Qdrant. +This library is a PHP 7.4 Client for Qdrant. Qdrant is a vector similarity engine & vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged