Fix #1074 Customize user-facing message sent when an installation is not managed by bolt-python app #611
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run codecov | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
env: | |
BOLT_PYTHON_CODECOV_RUNNING: "1" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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@v4 | |
with: | |
fail_ci_if_error: true | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} |