name: Run pytest on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python 3.11 uses: actions/setup-python@v3 with: python-version: "3.11" - name: Install dependencies run: | cd api python -m pip install --upgrade pip pip install pipenv pipenv install --dev - name: Test with pytest run: | cd api pipenv run pytest