Commit graph

55 commits

Author SHA1 Message Date
Alex Root Junior
c1341ba2df
Added support of Bot API 6.2 (#975)
* Added support of Bot API 6.2
* Added changelog
* Update tests
* Update API version
* Update dependencies, pre-commit config
* Added pytest config
2022-08-14 16:32:29 +03:00
Evgen Fil
416460e013
Skip running tests when there are no code or test changes (#948)
* Skip running tests when there are no code or test changes

* Allow config file changes to trigger tests
2022-06-26 19:16:17 +03:00
Evgen Fil
2cb0fd1c4b
Improve changelog check action (#949)
Make check faster when `skip news` label is present
Add `name:` root field
2022-06-26 16:22:32 +03:00
Evgen Fil
2c6d8ed5cb
Automatically put 3.x label on new pull requests to dev-3.x (#940) 2022-06-25 22:31:19 +03:00
Alex Root Junior
e8432d38f5
Add comment when PR is labeled 2022-04-11 04:06:39 +03:00
Alex Root Junior
7ae588d4b8
Delete comment when pull request is labeled 2022-04-11 03:59:09 +03:00
Alex Root Junior
1e5d231869
Update changelog action, try to fix PR from external repositories 2022-04-11 03:31:37 +03:00
Alex Root Junior
b8aa03bc38
Added changelog changed validator (#873)
* Added changelog changed validator
2022-03-27 01:36:05 +02:00
Alex Root Junior
7405db2ad3
Enable Python 3.10 for tests (#719)
* Try to test on Python 3.10

* Prevent to YAML type cast

* Bump poetry

* Removed async_lru

* Disable fail-fast on tests

* Fixed typing

* Added patch-notes
2021-10-06 22:49:14 +03:00
Alex Root Junior
e4046095d7
Dev 3.x i18n & improvements (#696)
* Added base code and make code improvements
* Auto-exclude coverage for `if TYPE_CHECKING:`
* Fixed current coverage
* Cover I18n module
* Update pipeline
* Fixed annotations
* Added docs
* Move exceptions
* Added tests for KeyboardBuilder and initial docs
* Remove help generator (removed from sources tree, requires rewrite)
* Added patch-notes #698, #699, #700, #701, #702, #703
2021-09-22 00:52:38 +03:00
Christian Clauss
5bd1162f57
tests.yml: Upgrade to actions/setup-python@v2 (#686) 2021-09-10 00:27:07 +03:00
Alex Root Junior
16cf6419d3 Rename deployment script 2021-08-01 01:19:03 +03:00
Alex Root Junior
e5a7c69e17 Bump version 2021-08-01 01:09:43 +03:00
Alex Root Junior
83d6ab48c5
Backport and improvements (#601)
* Backport RedisStorage, deep-linking
* Allow prereleases for aioredis
* Bump dependencies
* Correctly skip Redis tests on Windows
* Reformat tests code and bump Makefile
2021-06-15 01:45:31 +03:00
Alex Root Junior
6253b25158 Remove compatibility with Python 3.7 2021-05-25 01:00:36 +03:00
Alex Root Junior
442a813831 Added cache version 2021-05-13 22:15:26 +03:00
Alex Root Junior
becbcecaf1 Increase max parallel jobs 2021-05-13 00:15:18 +03:00
Alex Root Junior
782102561e Restore all OS in pipeline 2021-05-12 23:31:37 +03:00
Alex Root Junior
73028e7a11 Use bash by default. temporary disable all except Windows 2021-05-12 23:28:28 +03:00
Alex Root Junior
deacbe1649 Use bash by default 2021-05-12 23:28:05 +03:00
Alex Root Junior
74bd34b1a5 Added caching dependencies and black validation 2021-05-12 23:23:34 +03:00
Alex Root Junior
55861cb50d Use 3rd-party step for Poetry installaton (2) 2021-05-12 23:11:35 +03:00
Alex Root Junior
6d0238f0d4 Use 3rd-party step for Poetry installaton 2021-05-12 23:10:24 +03:00
Alex Root Junior
c25a63a2c8 Separate dependenties installation 2021-05-12 23:08:07 +03:00
Alex Root Junior
6009a39925 Change dependencies installation 2021-05-12 23:06:02 +03:00
Alex Root Junior
81427d0a8d Fix deploy pipeline 2021-05-12 00:15:06 +03:00
Alex Root Junior
5abd9ad0c4 Bump version. Added pipeline for test PyPi 2021-05-12 00:13:03 +03:00
Alex Root Junior
0e72d8e65b
[3.0] Bot API 5.1 + FSM + Utils (#525)
* Regenerate corresponding to Bot API 5.1

* Added base of FSM. Markup constructor and small refactoring

* Fix dependencies

* Fix mypy windows error

* Move StatesGroup.get_root() from meta to class

* Fixed chat and user constraints

* Update pipeline

* Remove docs pipeline

* Added GLOBAL_USER FSM strategy

* Reformat code

* Fixed Dispatcher._process_update

* Bump Bot API 5.2. Added integration with MagicFilter

* Coverage
2021-05-11 23:04:32 +03:00
Alex Root Junior
a6f824a117 Revert docs pipeline 2021-02-07 19:25:13 +02:00
Alex Root Junior
8a94dde7fb Pipeline bump version without venv 2021-02-07 18:48:16 +02:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API (#469)
Upgrade architecture + 5.0 Bot API (#469)
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
Alex Root Junior
85265a34cd Rollback Python 3.9 2020-10-06 16:50:44 +03:00
Alex Root Junior
880976b33d Enable Python 3.9 in pipeline 2020-10-06 16:47:44 +03:00
Alex Root Junior
87104bd783 Fix pipeline warning 2020-05-31 18:27:47 +03:00
Alex Root Junior
28382ebf5f
Add bump_versions.py script (#338)
* Add bump_versions.py script
* Fix pipeline
2020-05-27 01:24:06 +03:00
Boger
756412d784 Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
jrootjunior
3a1a666aff Add codecov config 2020-01-22 13:10:49 +02:00
jrootjunior
f149ab8d2d Try to add codecov 2020-01-22 12:59:32 +02:00
Alex Root Junior
e9e83ee392 Update runs-on parameter. 2020-01-21 23:58:46 +02:00
Alex Root Junior
58041b9dff Update matrix config 2020-01-21 23:49:41 +02:00
Alex Root Junior
449f1ce2c5 Run tests on different OS 2020-01-21 23:40:40 +02:00
jrootjunior
f313d53ddf Update actions 2019-12-26 10:29:10 +02:00
Alex Root Junior
390648aae6 Bump poetry 2019-12-15 21:52:18 +02:00
Alex Root Junior
17edffdc62 Fix pipeline install step 2019-11-18 21:17:42 +02:00
Alex Root Junior
2b3dd6cc4a Try to use Makefile in Pipeline 2019-11-18 21:14:19 +02:00
Alex Root Junior
fb210f3dd7 Add information about test builds 2019-11-18 00:36:12 +02:00
Alex Root Junior
f58adbd690 Fix pypi url 2019-11-18 00:19:56 +02:00
Alex Root Junior
49c726a5fc Rename package build dir 2019-11-18 00:11:59 +02:00
Alex Root Junior
2d16ac125d Add package build step 2019-11-18 00:03:58 +02:00
Alex Root Junior
1a2513e940 Change tests report filename 2019-11-17 23:55:36 +02:00