From a455987cc71bce5423771d33c267f02e42c23cd9 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 6 Oct 2023 15:31:21 +0200 Subject: [PATCH] wip: 2023-10-05T15:19:50+0200 (1696511990) --- .github/workflows/ci.yml | 16 +++++++--------- test/phpunit.xml | 18 ++++++++++++++++++ {tests => test}/xEnumTest.php | 0 3 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 test/phpunit.xml rename {tests => test}/xEnumTest.php (100%) 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