server-configs-nginx/.github/workflows/server.yml

31 lines
1.0 KiB
YAML
Raw Normal View History

2020-04-14 11:53:56 +02:00
# https://help.github.com/en/actions
2019-10-30 16:01:05 +01:00
name: server
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test with server-configs-test
2020-06-03 00:57:02 +02:00
uses: h5bp/server-configs-test@3.1.3
2019-10-30 16:01:05 +01:00
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
2020-06-03 00:57:02 +02:00
uses: h5bp/server-configs-test@3.1.3
2019-10-30 16:01:05 +01:00
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