fix(server): clean 400 on malformed /inject and /step body #32
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Set up Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| package-manager-cache: false | |
| - name: Install package | |
| run: python -m pip install -e . | |
| - name: Run Python tests | |
| run: python -m unittest discover -s tests | |
| - name: Run browser logic tests | |
| run: node --test showcase/tests/*.test.mjs | |
| - name: Run delivery contract | |
| run: python test_forward_delivery_contract.py |