Skip to content

Run tests on all supported web servers #210

Run tests on all supported web servers

Run tests on all supported web servers #210

Workflow file for this run

name: Run unit tests
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update -y && sudo apt-get install -y build-essential libglib2.0-dev libxml2-dev libcunit1-dev libjansson-dev libpcre3-dev zlib1g zlib1g-dev libssl-dev libgd-dev libxml2-dev uuid-dev libbz2-dev liblua5.3-dev lcov flake8 python3-pytest python3-lxml && pip install pyang
- name: Build and run lighttpd tests
run: HTTP_SERVER=lighttpd ./run.sh test
- name: Build and run nginx tests
run: HTTP_SERVER=nginx ./run.sh test
- name: Build and run appweb tests
run: HTTP_SERVER=appweb ./run.sh test