Skip to content

Commit 4bd5261

Browse files
committed
Update CI builds
1 parent b10b4a8 commit 4bd5261

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/ci-build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,16 @@ jobs:
3535
pytest tests/adapter_tests/
3636
- name: Run async tests
3737
run: |
38-
pip install -e ".[async]"
39-
pip install "pytest-asyncio<1"
40-
pytest tests/slack_bolt_async/
41-
pytest tests/scenario_tests_async/
42-
pytest tests/adapter_tests_async/
38+
# As the tests here are often slow on GitHub Actions,
39+
# we pick up only one Python version for it.
40+
python_version=`python -V`
41+
if [ ${python_version:7:3} == "3.9" ]; then
42+
pip install -e ".[async]"
43+
pip install "pytest-asyncio<1"
44+
pytest tests/slack_bolt_async/
45+
pytest tests/scenario_tests_async/
46+
pytest tests/adapter_tests_async/
47+
fi
4348
- name: Run pytype verification & codecov
4449
run: |
4550
python_version=`python -V`

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Python Version][python-version]][pypi-url]
44
[![pypi package][pypi-image]][pypi-url]
5-
[![Build Status][travis-image]][travis-url]
5+
[![Build Status][build-image]][build-url]
66
[![Codecov][codecov-image]][codecov-url]
77

88
A Python framework to build Slack apps in a flash with the latest platform features. Read the [getting started guide](https://slack.dev/bolt-python/tutorial/getting-started) and look at our [code examples](https://github.com/slackapi/bolt-python/tree/main/examples) to learn how to build apps using Bolt.
@@ -156,8 +156,8 @@ If you otherwise get stuck, we're here to help. The following are the best ways
156156

157157
[pypi-image]: https://badge.fury.io/py/slack-bolt.svg
158158
[pypi-url]: https://pypi.org/project/slack-bolt/
159-
[travis-image]: https://travis-ci.org/slackapi/bolt-python.svg?branch=main
160-
[travis-url]: https://travis-ci.org/slackapi/bolt-python
159+
[build-image]: https://github.com/slackapi/bolt-python/workflows/CI%20Build/badge.svg
160+
[build-url]: https://github.com/slackapi/bolt-python/actions?query=workflow%3A%22CI+Build%22
161161
[codecov-image]: https://codecov.io/gh/slackapi/bolt-python/branch/main/graph/badge.svg
162162
[codecov-url]: https://codecov.io/gh/slackapi/bolt-python
163163
[python-version]: https://img.shields.io/pypi/pyversions/slack-bolt.svg

0 commit comments

Comments
 (0)