Skip to content

Bump pydantic from 2.8.0 to 2.8.1 #587

Bump pydantic from 2.8.0 to 2.8.1

Bump pydantic from 2.8.0 to 2.8.1 #587

Workflow file for this run

name: Reddit-Get Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build_and_test_pr:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- 3.8.x
- 3.9.x
- 3.10.x
- 3.11.x
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Display Python Version
run: |
python --version
pip --version
- name: Update pip, setuptools, and wheel
run: pip install -U pip setuptools wheel
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-preview: true
- name: Display Poetry Version
run: poetry --version
- name: Cache Dependencies
uses: actions/[email protected]
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install Poetry Dependencies
run: poetry install -vvv
- name: Run Pytest with Black, isort, and coverage
run: poetry run pytest -vvv --mypy --black --isort --force-sugar --tb=native --cov=reddit_get --cov-fail-under=90 --cov-report=xml:docs/coverage/integration/report.xml --numprocesses=auto --color=yes --code-highlight=yes --durations=10
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-umbrella
fail_ci_if_error: true