Bump h5bp/server-configs-test from 8.0.0 to 8.1.1 #296
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: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check configuration | |
uses: docker://nginx:latest | |
with: | |
entrypoint: nginx | |
args: -c /github/workspace/nginx.conf -t | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install k6 | |
uses: grafana/setup-k6-action@v1 | |
- name: Test with server-configs-test | |
uses: h5bp/[email protected] | |
with: | |
command: test | |
server: nginx | |
root-path: /var/www/server.localhost | |
certs-path: /etc/nginx/certs | |
configs-volumes: test/vhosts:/etc/nginx/conf.d;h5bp:/etc/nginx/h5bp;nginx.conf:/etc/nginx/nginx.conf;mime.types:/etc/nginx/mime.types | |
tests: basic-file-access;caching;cache-busting;custom-errors;forbidden-files;precompressed-files-gzip;rewrites;ssl | |
- name: Benchmark | |
uses: h5bp/[email protected] | |
with: | |
command: benchmark | |
server: nginx | |
root-path: /var/www/server.localhost | |
certs-path: /etc/nginx/certs | |
configs-volumes: test/vhosts:/etc/nginx/conf.d;h5bp:/etc/nginx/h5bp;nginx.conf:/etc/nginx/nginx.conf;mime.types:/etc/nginx/mime.types |