Skip to content

Commit

Permalink
refactoring of smsapi functions and removal of global variables (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur authored and davidcoutadeur committed Apr 23, 2024
1 parent ccbd142 commit 179c464
Show file tree
Hide file tree
Showing 28 changed files with 4,985 additions and 344 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ jobs:
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 7.4
php_version: 8.3
command: update
php_extensions: ldap gd mbstring
- name: PHPUnit Tests for php7.4
php_extensions: ldap gd mbstring xdebug
- name: PHPUnit Tests for php8.3
uses: php-actions/phpunit@v3
env:
XDEBUG_MODE: coverage
with:
configuration: tests/phpunit.xml
version: 5.7.25
php_version: 7.4
version: latest
php_version: 8.3
php_extensions: ldap gd mbstring xdebug
test_suffix: Test.php
args: --coverage-text

5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
"rm -rf htdocs/vendor/font-awesome ",
"cp -R vendor/fortawesome/font-awesome htdocs/vendor/font-awesome"
]
},
"require-dev": {
"phpunit/phpunit": "*",
"php-mock/php-mock-phpunit": "*",
"mockery/mockery": "*"
}
}
Loading

0 comments on commit 179c464

Please sign in to comment.