diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f89b814..65710fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,18 +4,16 @@ on: [push, pull_request] jobs: build-test: runs-on: ubuntu-latest - strategy: - matrix: - php-versions: ["8.2"] steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} + - name: Install dependencies + uses: php-actions/composer@v6 - - name: Run PHPUnit tests - uses: php-actions/phpunit@v3 \ No newline at end of file + - name: Run PHPUnit Tests + uses: php-actions/phpunit@v3 + with: + bootstrap: vendor/autoload.php + configuration: test/phpunit.xml \ No newline at end of file diff --git a/test/phpunit.xml b/test/phpunit.xml new file mode 100644 index 0000000..cf95bea --- /dev/null +++ b/test/phpunit.xml @@ -0,0 +1,18 @@ + + + + + ../../src + + + + + + + + + . + + + + \ No newline at end of file diff --git a/tests/xEnumTest.php b/test/xEnumTest.php similarity index 100% rename from tests/xEnumTest.php rename to test/xEnumTest.php