Skip to content

deleted tests dir

deleted tests dir #23

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: Change privileges of CGI scripts for a specific test
run: chmod -x ./tests/simple_server_function_test/www/cgi-bin/unauthorized_cgi_script.py
- 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