mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
test both backends
This commit is contained in:
parent
26ec766638
commit
d66b912c07
1 changed files with 7 additions and 1 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
|
@ -39,6 +39,12 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
name: Unit tests
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
backend:
|
||||
- smbclient
|
||||
- libsmbclient
|
||||
|
||||
services:
|
||||
samba:
|
||||
image: dperson/samba
|
||||
|
|
@ -66,5 +72,5 @@ jobs:
|
|||
echo '{"host": "localhost","user": "test","password": "test","share": "test","root": ""}' > tests/config.json
|
||||
- name: PHPUnit Tests
|
||||
env:
|
||||
BACKEND: smbclient
|
||||
BACKEND: ${{ matrix.backend }}
|
||||
run: php ./vendor/bin/phpunit tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue