Fixed connection limit in tcp server upped listen backlog to 128 from 5 default #49
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: hio | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10.4 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.4 | |
- name: Install dependencies | |
run: | | |
sudo mkdir -p /usr/local/var/hio/test | |
sudo mkdir -p /usr/local/var/hio/logs | |
sudo mkdir -p /usr/local/var/hio/wirelogs | |
sudo chown -R $USER /usr/local/var/hio | |
python -m pip install --upgrade pip | |
pip install pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Run hio tests | |
run: | | |
pytest |