Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirect tests #1

Merged
merged 3 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/redirect_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: redirect_tests
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
container:
image: httpd:2.4
env:
SEARCH_PATH: "./"
ports:
- 80
volumes:
- ./:/usr/local/apache2/htdocs/
- ./.test/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf
steps:
- name: Checkout Project
uses: actions/checkout@v1

- name: Install curl
run: |
apt-get update
apt-get install curl

- name: Run tests
run: |
chmod +x ./public/scripts/test.sh
/usr/local/apache2/htdocs/.test/test.sh
shell: bash
Loading