From 1b8813314e746b82fb19527d929fb7c5f961de26 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 29 Oct 2024 00:40:04 -0400 Subject: [PATCH] Added PhpUnit test files --- .github/workflows/ncc_workflow.yml | 12 ++++++------ .idea/php-test-framework.xml | 2 +- .idea/php.xml | 2 +- bootstrap.php | 3 +++ phpunit.xml | 11 +++++++++++ 5 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 bootstrap.php create mode 100644 phpunit.xml diff --git a/.github/workflows/ncc_workflow.yml b/.github/workflows/ncc_workflow.yml index e82ad08..28d6d55 100644 --- a/.github/workflows/ncc_workflow.yml +++ b/.github/workflows/ncc_workflow.yml @@ -51,7 +51,7 @@ jobs: - name: Build project run: | - ncc build --config release --log-level debug + ncc build --config release --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 @@ -100,7 +100,7 @@ jobs: - name: Build project run: | - ncc build --config release-compressed --log-level debug + ncc build --config release-compressed --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 @@ -149,7 +149,7 @@ jobs: - name: Build project run: | - ncc build --config debug-compressed --log-level debug + ncc build --config debug-compressed --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 @@ -198,7 +198,7 @@ jobs: - name: Build project run: | - ncc build --config release-executable --log-level debug + ncc build --config release-executable --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 @@ -247,7 +247,7 @@ jobs: - name: Build project run: | - ncc build --config release-compressed-executable --log-level debug + ncc build --config release-compressed-executable --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 @@ -296,7 +296,7 @@ jobs: - name: Build project run: | - ncc build --config debug-compressed-executable --log-level debug + ncc build --config debug-compressed-executable --build-source --log-level debug - name: Upload build artifact uses: actions/upload-artifact@v4 diff --git a/.idea/php-test-framework.xml b/.idea/php-test-framework.xml index 6422f53..61f89c2 100644 --- a/.idea/php-test-framework.xml +++ b/.idea/php-test-framework.xml @@ -5,7 +5,7 @@ - + diff --git a/.idea/php.xml b/.idea/php.xml index 2b9b0a2..c6e2c98 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -124,7 +124,7 @@ - + diff --git a/bootstrap.php b/bootstrap.php new file mode 100644 index 0000000..1a1e1de --- /dev/null +++ b/bootstrap.php @@ -0,0 +1,3 @@ + + + + tests + + + + + + +