laudis-technologies/neo4j-php-client

View on GitHub
.github/workflows/unit-test.yml

Summary

Maintainability
Test Coverage
name: Unit Tests

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  tests:
    runs-on: ubuntu-latest
    name: "Running on PHP 8.2"

    steps:
      - uses: actions/checkout@v2
      - name: Cache Composer dependencies
        uses: actions/cache@v2
        with:
          path: /tmp/composer-cache
          key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
      - uses: php-actions/composer@v6
        with:
          progress: yes
          php_version: 8.2
          version: 2
      - uses: php-actions/phpunit@v3
        with:
          configuration: phpunit.xml.dist
          php_version: 8.2
          memory_limit: 1024M
          version: 9
          testsuite: Unit
          bootstrap: vendor/autoload.php