github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/.github/workflows/test-python.yml (about)

     1  name: Run Python Tests
     2  on: [push]
     3  jobs:
     4    unittest:
     5      runs-on: ubuntu-latest
     6      steps:
     7        - uses: actions/checkout@v4
     8        - name: Build
     9          run: |
    10            npm install
    11            npm run generate.python
    12        - name: Set up Python
    13          uses: actions/setup-python@v4
    14          with:
    15            python-version: "3.10"
    16            working-directory: ./clients/python
    17        - name: Run tests
    18          run: |
    19            cd ./clients/python
    20            pip install -r requirements.txt -r test-requirements.txt
    21            python -m unittest