Skip to content

build(deps): bump actions/setup-python from 6.0.0 to 6.1.0 (#82) #231

build(deps): bump actions/setup-python from 6.0.0 to 6.1.0 (#82)

build(deps): bump actions/setup-python from 6.0.0 to 6.1.0 (#82) #231

Workflow file for this run

name: Run codecov
on:
push:
branches:
- main
pull_request:
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: 3.14
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
pip install -r requirements/testing.txt
- name: Run all tests for codecov
run: |
pytest --cov=./slack_cli_hooks/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
health-score:
needs: run
permissions:
checks: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Setup repo
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Report health score
uses: slackapi/slack-health-score@d58a419f15cdaff97e9aa7f09f95772830ab66f7 # v0.1.1
with:
codecov_token: ${{ secrets.FILS_CODECOV_API_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
extension: py
include: slack_cli_hooks