Skip to content

Bump pytest from 7.4.3 to 7.4.4 #1209

Bump pytest from 7.4.3 to 7.4.4

Bump pytest from 7.4.3 to 7.4.4 #1209

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
fail-fast: false
env:
IS_GITHUB_RUNNER: "true"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry
poetry export --dev --without-hashes --output requirements.txt
pip install -r requirements.txt
sudo apt install progress -y
- name: Run tests
run: pytest
- name: Run Mypy
run: mypy recoverpy --strict
automerge-dependabot:
runs-on: ubuntu-latest
needs: test
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}