-
-
Notifications
You must be signed in to change notification settings - Fork 636
37 lines (30 loc) · 1.21 KB
/
htaccess.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# https://docs.github.com/actions
name: .htaccess
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./test/build/test_userbuild.sh
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build .htaccess
run: ./bin/build.sh test/conf/.htaccess test/build/htaccess_fixture.conf
- name: Test with server-configs-test
uses: h5bp/[email protected]
with:
command: test
server: httpd
root-path: /usr/local/apache2/htdocs
configs-volumes: test/conf/.htaccess:/usr/local/apache2/htdocs/.htaccess;test/vhosts/.htaccess.server.localhost.conf:/usr/local/apache2/conf/httpd.conf
tests: basic-file-access:cache-busting:custom-errors:forbidden-files:enforce-gzip:precompressed-files-gzip:concatenation
- name: Benchmark
uses: h5bp/[email protected]
with:
command: benchmark
server: httpd
root-path: /usr/local/apache2/htdocs
configs-volumes: test/conf/.htaccess:/usr/local/apache2/htdocs/.htaccess;test/vhosts/.htaccess.server.localhost.conf:/usr/local/apache2/conf/httpd.conf