diff --git a/.gitattributes b/.gitattributes index dfe0770..fba9650 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,11 @@ # Auto detect text files and perform LF normalization * text=auto + +# Ignore unnecessary files to prevent from installation +/.github export-ignore +/docs export-ignore +/tests export-ignore +.gitattributes export-ignore +.gitignore export-ignore +phpunit.xml export-ignore +README.md export-ignore diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 62f9d40..bf7bcda 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -27,10 +27,10 @@ jobs: run: sudo apt-get install ffmpeg - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} @@ -62,7 +62,7 @@ jobs: run: composer test:ci - name: Upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml + files: ./coverage.xml diff --git a/phpunit.xml b/phpunit.xml index 4555ccb..aea0250 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,11 @@ - + ./tests/ - - - - ./src - - - + @@ -24,4 +18,9 @@ + + + ./src + +