mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +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
|
runs-on: ubuntu-20.04
|
||||||
name: Unit tests
|
name: Unit tests
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
backend:
|
||||||
|
- smbclient
|
||||||
|
- libsmbclient
|
||||||
|
|
||||||
services:
|
services:
|
||||||
samba:
|
samba:
|
||||||
image: dperson/samba
|
image: dperson/samba
|
||||||
|
|
@ -66,5 +72,5 @@ jobs:
|
||||||
echo '{"host": "localhost","user": "test","password": "test","share": "test","root": ""}' > tests/config.json
|
echo '{"host": "localhost","user": "test","password": "test","share": "test","root": ""}' > tests/config.json
|
||||||
- name: PHPUnit Tests
|
- name: PHPUnit Tests
|
||||||
env:
|
env:
|
||||||
BACKEND: smbclient
|
BACKEND: ${{ matrix.backend }}
|
||||||
run: php ./vendor/bin/phpunit tests
|
run: php ./vendor/bin/phpunit tests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue