Update urllib3 to newer versions in python-fastpi #178
Workflow file for this run
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: Python FastAPI Server | |
| on: | |
| push: | |
| paths: | |
| - samples/server/petstore/python-fastapi/** | |
| pull_request: | |
| paths: | |
| - samples/server/petstore/python-fastapi/** | |
| jobs: | |
| build: | |
| name: Test Python FastAPI server | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| sample: | |
| # servers | |
| - samples/server/petstore/python-fastapi/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| working-directory: ${{ matrix.sample }} | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install pytest | |
| - name: Test | |
| working-directory: ${{ matrix.sample }} | |
| run: PYTHONPATH=src pytest |