- - name: Install test prerequsites
- run: sudo apt-get install -y -qq python3-pytest
- if: matrix.ubuntu == 22
+ - name: Install test prerequsites (from apt for Ununtu 2x)
+ run: sudo apt-get install -y -qq python3-pytest uvicorn
+ if: matrix.ubuntu >= 20
+
+ - name: Install test prerequsites (from pip for Ubuntu 18)
+ run: pip3 install pytest uvicorn
+ if: matrix.ubuntu == 18
+
+ - name: Install Python webservers
+ run: pip3 install falcon sanic sanic-testing starlette