feat: [OCISDEV-741] local-api-test, apiSpaces

This commit is contained in:
Michal Klos
2026-03-25 14:38:38 +01:00
parent d0b41ea4a9
commit 46d772f4f6
2 changed files with 152 additions and 9 deletions

View File

@@ -81,7 +81,7 @@ jobs:
- apiGraph
- apiGraphGroup
# spaces & dav
# - apiSpaces
- apiSpaces
- apiSpacesShares
- apiSpacesDavOperation
- apiDownloads
@@ -122,12 +122,12 @@ jobs:
- name: Install libcurl 8.12.0 from source
run: |
sudo apt-get update -qq
sudo apt-get install -y libssl-dev libnghttp2-dev libpsl-dev libldap-dev libssh-dev zlib1g-dev
sudo apt-get install -y libssl-dev libnghttp2-dev libpsl-dev libldap-dev libssh-dev zlib1g-dev libvips-dev
cd /tmp
curl -sLO https://curl.se/download/curl-8.12.0.tar.gz
tar xzf curl-8.12.0.tar.gz
cd curl-8.12.0
./configure --with-ssl --with-zlib --with-nghttp2 --prefix=/usr/local --silent
./configure --with-ssl --with-zlib --with-nghttp2 --prefix=/usr/local --enable-versioned-symbols --silent
make -j$(nproc) --silent
sudo make install --silent
sudo ldconfig
@@ -169,7 +169,29 @@ jobs:
go-version-file: go.mod
cache: true
- uses: shivammathur/setup-php@v2
- name: Install libcurl 8.12.0 from source
run: |
sudo apt-get update -qq
sudo apt-get install -y libssl-dev libnghttp2-dev libpsl-dev libldap-dev libssh-dev zlib1g-dev libvips-dev
cd /tmp
curl -sLO https://curl.se/download/curl-8.12.0.tar.gz
tar xzf curl-8.12.0.tar.gz
cd curl-8.12.0
./configure --with-ssl --with-zlib --with-nghttp2 --prefix=/usr/local --enable-versioned-symbols --silent
make -j$(nproc) --silent
sudo make install --silent
sudo ldconfig
curl --version | head -1
php -r '
$v = curl_version()["version"];
echo "PHP curl: $v\n";
if (version_compare($v, "8.12.0", "<")) {
fwrite(STDERR, "FATAL: PHP sees libcurl $v, need >= 8.12.0\n");
exit(1);
}
'
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip
@@ -190,7 +212,7 @@ jobs:
path: tests/acceptance/output/
all-acceptance-tests:
needs: [local-api-tests]
needs: [local-api-tests, core-api-tests]
runs-on: ubuntu-latest
if: always()
steps: