From 58f7110725e5cfb7123e3064de3ba233bd750a6a Mon Sep 17 00:00:00 2001 From: Andrew Judd Date: Sun, 11 Jul 2021 16:25:43 -0400 Subject: [PATCH] Fixing CI (#1) Fixing the CI build --- .github/workflows/main.yml | 2 +- .gitignore | 4 +- README.md | 2 + build/report.junit.xml | 82 -------------------------------------- phpunit.xml | 39 ++++++++++++++++++ 5 files changed, 44 insertions(+), 85 deletions(-) delete mode 100644 build/report.junit.xml create mode 100644 phpunit.xml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e51e362..3efe788 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.0, 7.4] + php: [8.0] stability: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/.gitignore b/.gitignore index 051ad04..d8753e5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ composer.phar composer.lock .DS_Store Thumbs.db -/phpunit.xml /.idea /.vscode -.phpunit.result.cache \ No newline at end of file +.phpunit.result.cache +report.junit.xml \ No newline at end of file diff --git a/README.md b/README.md index 664394d..c5effc8 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ A quick and easy dictionary implementation for PHP. +This package was initially ported (and upgraded) from [here](https://github.com/dpolac/dictionary). + ## Installation You can install the package via composer: diff --git a/build/report.junit.xml b/build/report.junit.xml deleted file mode 100644 index 3d519ca..0000000 --- a/build/report.junit.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..5bfe648 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,39 @@ + + + + + tests + + + + + ./src + + + + + + + + + + +