103 add cgi script timeout limitation #18
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
name: Integration Test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install build-essential | |
run: sudo apt-get update && sudo apt-get install build-essential libbsd-dev -y | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: make | |
- name: Change privileges of CGI scripts | |
run: chmod +x ./tests/simple_server_function_test/www/cgi-bin/* | |
- name: Create an empty directory for test | |
run: mkdir ./tests/simple_server_function_test/upload ./tests/simple_server_function_test/www/delete | |
- name: Run test | |
run: python3 test.py |