File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 pull_request :
77
88jobs :
9- build :
9+ run :
1010 runs-on : ubuntu-latest
11- timeout-minutes : 10
12- strategy :
13- matrix :
14- python-version : ["3.12"]
11+ timeout-minutes : 5
1512 steps :
1613 - uses : actions/checkout@v4
17- - name : Set up Python ${{ matrix.python-version }}
14+ - name : Set up Python
1815 uses : actions/setup-python@v5
1916 with :
20- python-version : ${{ matrix.python-version }}
17+ python-version : 3.12
2118 - name : Install dependencies
2219 run : |
2320 pip install -U pip
24- pip install .
21+ pip install -r requirements.txt
2522 pip install -r requirements/testing.txt
2623 - name : Run all tests for codecov
2724 run : |
2825 pytest --cov=./slack_cli_hooks/ --cov-report=xml
29- # TODO uncomment when repo public
30- # - name: Upload coverage to Codecov
31- # uses: codecov/codecov-action@v3
32- # with:
33- # fail_ci_if_error: true
34- # verbose: true
26+ - name : Upload coverage to Codecov
27+ uses : codecov/codecov-action@v3
28+ with :
29+ token : ${{ secrets.CODECOV_TOKEN }}
30+ fail_ci_if_error : true
31+ verbose : true
Original file line number Diff line number Diff line change 55 <img alt="PyPI - Version" src="https://img.shields.io/pypi/v/slack-cli-hooks?style=flat-square"></a>
66 <a href="https://pypi.org/project/slack-cli-hooks/">
77 <img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/slack-cli-hooks.svg?style=flat-square"></a>
8+ <a href="https://codecov.io/gh/slackapi/python-slack-hooks">
9+ <img alt="Codecov" src="https://img.shields.io/codecov/c/gh/slackapi/python-slack-hooks?style=flat-square"></a>
810</p >
911
1012This library defines the contract between the
You can’t perform that action at this time.
0 commit comments