|
1 | | -name: Run codecov |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: [main] |
6 | | - pull_request: |
7 | | - |
8 | | -jobs: |
9 | | - build: |
10 | | - # Avoiding -latest due to https://github.com/actions/setup-python/issues/162 |
11 | | - runs-on: ubuntu-20.04 |
12 | | - timeout-minutes: 15 |
13 | | - strategy: |
14 | | - matrix: |
15 | | - python-version: ["3.11"] |
16 | | - env: |
17 | | - # default: multiprocessing |
18 | | - # threading is more stable on GitHub Actions |
19 | | - BOLT_PYTHON_MOCK_SERVER_MODE: threading |
20 | | - BOLT_PYTHON_CODECOV_RUNNING: "1" |
21 | | - steps: |
22 | | - - uses: actions/checkout@v3 |
23 | | - - name: Set up Python ${{ matrix.python-version }} |
24 | | - uses: actions/setup-python@v4 |
25 | | - with: |
26 | | - python-version: ${{ matrix.python-version }} |
27 | | - - name: Install dependencies |
28 | | - run: | |
29 | | - python setup.py install |
30 | | - pip install -U pip |
31 | | - pip install -e ".[async]" |
32 | | - pip install -e ".[adapter]" |
33 | | - pip install -e ".[testing]" |
34 | | - pip install -e ".[adapter_testing]" |
35 | | - - name: Run all tests for codecov |
36 | | - run: | |
37 | | - pytest --cov=./slack_bolt/ --cov-report=xml |
38 | | - - name: Upload coverage to Codecov |
39 | | - uses: codecov/codecov-action@v3 |
40 | | - with: |
41 | | - fail_ci_if_error: true |
42 | | - verbose: true |
| 1 | +# TODO: This CI job hangs as of April 2023 |
| 2 | +#name: Run codecov |
| 3 | +# |
| 4 | +#on: |
| 5 | +# push: |
| 6 | +# branches: [main] |
| 7 | +# pull_request: |
| 8 | +# |
| 9 | +#jobs: |
| 10 | +# build: |
| 11 | +# # Avoiding -latest due to https://github.com/actions/setup-python/issues/162 |
| 12 | +# runs-on: ubuntu-20.04 |
| 13 | +# timeout-minutes: 10 |
| 14 | +# strategy: |
| 15 | +# matrix: |
| 16 | +# python-version: ["3.11"] |
| 17 | +# env: |
| 18 | +# # default: multiprocessing |
| 19 | +# # threading is more stable on GitHub Actions |
| 20 | +# BOLT_PYTHON_MOCK_SERVER_MODE: threading |
| 21 | +# BOLT_PYTHON_CODECOV_RUNNING: "1" |
| 22 | +# steps: |
| 23 | +# - uses: actions/checkout@v3 |
| 24 | +# - name: Set up Python ${{ matrix.python-version }} |
| 25 | +# uses: actions/setup-python@v4 |
| 26 | +# with: |
| 27 | +# python-version: ${{ matrix.python-version }} |
| 28 | +# - name: Install dependencies |
| 29 | +# run: | |
| 30 | +# python setup.py install |
| 31 | +# pip install -U pip |
| 32 | +# pip install -e ".[async]" |
| 33 | +# pip install -e ".[adapter]" |
| 34 | +# pip install -e ".[testing]" |
| 35 | +# pip install -e ".[adapter_testing]" |
| 36 | +# - name: Run all tests for codecov |
| 37 | +# run: | |
| 38 | +# pytest --cov=./slack_bolt/ --cov-report=xml |
| 39 | +# - name: Upload coverage to Codecov |
| 40 | +# uses: codecov/codecov-action@v3 |
| 41 | +# with: |
| 42 | +# fail_ci_if_error: true |
| 43 | +# verbose: true |
0 commit comments