run callbacks in a threadpool, less syscalls in rawsocket (#212) #593
This file contains hidden or 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: XConn Python CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Setup environment & install dependencies | |
| run: make setup | |
| - name: Run unit tests | |
| run: make test | |
| - name: Install wick | |
| run: sudo snap install wick --classic | |
| - name: Run Integration tests | |
| run: | | |
| make install-nxt | |
| nxt start -c tests/ & | |
| timeout 30 bash -c 'until wick --url ws://localhost:8079/ws publish test; do sleep 1; done' | |
| make integration | |
| - name: Setup AAT | |
| run: | | |
| git clone https://github.com/xconnio/xconn-aat-setup.git | |
| cd xconn-aat-setup | |
| make up | |
| timeout 30 bash -c 'until wick --url ws://localhost:8081/ws publish test; do sleep 1; done' | |
| - name: Run AAT tests | |
| run: make aat | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: chartboost/ruff-action@v1 |