diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d47adae..d2c52e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,9 +156,25 @@ jobs: - name: Install dependencies run: composer install --no-interaction --no-progress --prefer-dist + - name: Restore property regression corpus + uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 + with: + path: build/property-db + key: property-db-${{ github.run_id }}-${{ github.run_attempt }} + restore-keys: property-db- + - name: Test with coverage + env: + PROPERTY_DB: ${{ github.workspace }}/build/property-db run: composer test:coverage:ci + - name: Save property regression corpus + if: ${{ !cancelled() }} + uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 + with: + path: build/property-db + key: property-db-${{ github.run_id }}-${{ github.run_attempt }} + - name: Mutation testing run: composer mutation diff --git a/composer.json b/composer.json index b49261b..bfd8c6a 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "friendsofphp/php-cs-fixer": "^3.95", "infection/infection": "^0.33", "maglnet/composer-require-checker": "^4.17", - "rasuvaeff/property-testing": "^2.6", + "rasuvaeff/property-testing-testo": "^0.1", "rector/rector": "^2.4", "roave/backward-compatibility-check": "^8.0", "testo/bench": "^0.1.5",