Skip to content

Commit

Permalink
Simplified MessageRouter and moved specific methods to specialized cl…
Browse files Browse the repository at this point in the history
…asses.

Removed OpenSwoole\Table based persistence.
Added Sqlite based persistence.
Update to tests to match changes and expected behavior.
  • Loading branch information
lotharthesavior committed Sep 11, 2023
1 parent 7f690a1 commit 98f9fe3
Show file tree
Hide file tree
Showing 28 changed files with 2,102 additions and 923 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: openswoole
extensions: openswoole, sqlite3

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
Expand All @@ -36,8 +36,5 @@ jobs:
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: composer run-script test
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"license": "MIT",
"require": {
"php": "^8.0",
"league/pipeline": "^1.0"
"league/pipeline": "^1.0",
"illuminate/database": "^10.22"
},
"require-dev": {
"symfony/var-dumper": "^6.1",
Expand Down
Loading

0 comments on commit 98f9fe3

Please sign in to comment.