mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 09:34:08 +02:00
bumb ci versions
This commit is contained in:
parent
7bf414d47a
commit
c5d79716d0
2 changed files with 15 additions and 4 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -5,10 +5,17 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
php-versions: ['7.4', '8.0']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: php-actions/composer@v1
|
- name: Set up php${{ matrix.php-versons }}
|
||||||
- uses: php-actions/phpunit@v1.0.0
|
uses: shivammathur/setup-php@master
|
||||||
with:
|
with:
|
||||||
config: tests/phpunit.xml
|
php-version: ${{ matrix.php-versions }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: composer i
|
||||||
|
- name: PHPUnit
|
||||||
|
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,8 @@ class DummyBackend implements ISearchBackend {
|
||||||
new SearchResult(new SimpleFile('foo.txt', 'foobar', 'text/plain'), '/bar/foo.txt')
|
new SearchResult(new SimpleFile('foo.txt', 'foobar', 'text/plain'), '/bar/foo.txt')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function preloadPropertyFor(array $nodes, array $requestProperties): void {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue