Skip to content

Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241221 #2047

Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241221

Bump types-pyyaml from 6.0.12.20240917 to 6.0.12.20241221 #2047

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
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 }}