Skip to content

Commit d8cd8de

Browse files
authored
Add tests for MemcacheD storage backend (#362)
_Also_: * Added background `renderd` process testing * Added `renderd` section without `stats_file` testing * Added `render_*` via TCP tests * Added `render_* --verbose` tests * Added `render_expired --delete-from` tests * Added `render_expired --no-progress` tests * Added `render_expired --touch-from` tests * Added `PARAMETERIZE_STYPE=language` map configuration testing * Added `HTCPHOST`/`HOST` map configuration testing
1 parent 6c1d890 commit d8cd8de

7 files changed

Lines changed: 480 additions & 346 deletions

File tree

.github/actions/cmake/test/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
2+
inputs:
3+
options:
4+
default: --exclude-regex 'clear_dirs_.+|remove_tile_.+' --output-on-failure
5+
26
runs:
37
using: composite
48
steps:
@@ -10,7 +14,7 @@ runs:
1014
shell: bash --noprofile --norc -euxo pipefail {0}
1115

1216
- name: Test `mod_tile`
13-
run: ctest --exclude-regex 'clear_dirs|remove_tiles' --output-on-failure
17+
run: ctest ${{ inputs.options }}
1418
shell: bash --noprofile --norc -euxo pipefail {0}
1519
working-directory: build
1620

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
with:
2727
ubuntu-test-dependencies: >-
2828
apache2
29+
jq
2930
lcov
31+
memcached
3032
3133
- name: Build `mod_tile`
3234
uses: ./.github/actions/cmake/build
@@ -36,7 +38,6 @@ jobs:
3638

3739
- name: Process `mod_tile` coverage results
3840
run: |
39-
ctest -T coverage
4041
lcov \
4142
--capture \
4243
--directory . \

docker/debian/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN --mount=id=debian:${debian_version}-/var/cache/apt,sharing=locked,target=/va
2727
libiniparser-dev \
2828
libmapnik-dev \
2929
libmemcached-dev \
30-
librados-dev
30+
librados-dev \
31+
netbase
3132

3233
## Build, Test & Install `mod_tile`
3334
COPY . /tmp/mod_tile_src

docker/ubuntu/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN --mount=id=ubuntu:${ubuntu_version}-/var/cache/apt,sharing=locked,target=/va
2727
libiniparser-dev \
2828
libmapnik-dev \
2929
libmemcached-dev \
30-
librados-dev
30+
librados-dev \
31+
netbase
3132

3233
## Build, Test & Install `mod_tile`
3334
COPY . /tmp/mod_tile_src

0 commit comments

Comments
 (0)