Bump h5bp/server-configs-test from 7.1.1 to 8.0.0 #437
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.github.com/actions | |
name: Server CI | |
on: [push, pull_request] | |
jobs: | |
# Following job not possible yet as too complicated directory mapping on the container. | |
# check: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# | |
# - name: Check configuration | |
# uses: docker://httpd:latest | |
# with: | |
# entrypoint: httpd | |
# args: -f /github/workspace/httpd.conf -t | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare configs | |
run: | | |
sed -ri \ | |
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \ | |
-e 's!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g' \ | |
-e 's!^(\s*TransferLog)\s+\S+!\1 /proc/self/fd/1!g' \ | |
"httpd.conf" | |
- name: Test with server-configs-test | |
uses: h5bp/server-configs-test@8.0.0 | |
with: | |
command: test | |
server: httpd | |
root-path: /usr/local/apache2/htdocs | |
certs-path: /usr/local/apache2/certs | |
configs-volumes: test/vhosts:/usr/local/apache2/vhosts;h5bp:/usr/local/apache2/h5bp;httpd.conf:/usr/local/apache2/conf/httpd.conf | |
tests: basic-file-access;caching;cache-busting;custom-errors;forbidden-files;enforce-gzip;precompressed-files-gzip;rewrites;ssl | |
- name: Benchmark | |
uses: h5bp/server-configs-test@8.0.0 | |
with: | |
command: benchmark | |
server: httpd | |
root-path: /usr/local/apache2/htdocs | |
certs-path: /usr/local/apache2/certs | |
configs-volumes: test/vhosts:/usr/local/apache2/vhosts;h5bp:/usr/local/apache2/h5bp;httpd.conf:/usr/local/apache2/conf/httpd.conf |