Skip to content

Bump ruff from 0.7.3 to 0.7.4 #649

Bump ruff from 0.7.3 to 0.7.4

Bump ruff from 0.7.3 to 0.7.4 #649

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/setup-python@v4.8.0
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/actions-poetry@v2.4.0
with:
poetry-preview: true
- name: Display Poetry Version
run: poetry --version
- name: Cache Dependencies
uses: actions/cache@v3.3.3
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/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: codecov-umbrella
fail_ci_if_error: true