Skip to content

chore(deps): update pytest-cov requirement from <7,>=3 to >=3,<8 (#1365) #1195

chore(deps): update pytest-cov requirement from <7,>=3 to >=3,<8 (#1365)

chore(deps): update pytest-cov requirement from <7,>=3 to >=3,<8 (#1365) #1195

Workflow file for this run

name: Run codecov
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.13"]
permissions:
contents: read
env:
BOLT_PYTHON_CODECOV_RUNNING: "1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
pip install .
pip install -r requirements/adapter.txt
pip install -r requirements/testing.txt
pip install -r requirements/adapter_testing.txt
- name: Run all tests for codecov
run: |
pytest --cov=./slack_bolt/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}