File tree Expand file tree Collapse file tree 4 files changed +25
-18
lines changed
Expand file tree Collapse file tree 4 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 tags :
8+
89 pull_request :
910
1011jobs :
@@ -17,20 +18,21 @@ jobs:
1718 runs-on : ${{ matrix.os }}
1819
1920 steps :
20- - uses : actions/checkout@v3
21- - name : Set up Python ${{ matrix.python-version }}
22- uses : actions/setup-python@v4
23- with :
24- python-version : ${{ matrix.python-version }}
25- cache : ' pip'
26-
27- - name : Install dependencies
28- run : |
29- python -m pip install --upgrade pip
30- pip install -r requirements-dev.txt
31-
32- - name : Run unittests
33- run : make unittests
21+ - uses : actions/checkout@v3
22+
23+ - name : Set up Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ${{ matrix.python-version }}
27+ cache : ' pip'
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ pip install -r requirements-dev.txt
33+
34+ - name : Run unittests
35+ run : make unittests
3436
3537 flake8-lint :
3638 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11.PHONY : upload release release-test release-tag upload
22
3+ REQUIREMENTS_TXT =requirements-dev.txt
4+
5+ test : unittests
6+
37version :
48ifdef VERSION
59 sed -i -e 's|version = .*|version = $(VERSION)|' setup.cfg
913endif
1014
1115lint : venv
12- $(VENV ) /flake8 --count --statistics redbeat tests
16+ $(VENV ) /flake8 redbeat tests
1317
1418build :
1519 $(VENV ) /python -m build
@@ -37,7 +41,6 @@ upload: venv
3741docs :
3842 $(MAKE ) -C docs/ html
3943
40- test : unittests
4144unittests : venv
4245 $(VENV ) /python -m unittest discover tests
4346
Original file line number Diff line number Diff line change 11[tool .black ]
22line-length = 100
3- target_version = [' py37 ' ]
3+ target_version = [' py38 ' ]
44skip-string-normalization = true
55
66[tool .isort ]
Original file line number Diff line number Diff line change 11# Packages dependencies
22celery >= 5.0
3- fakeredis >= 1.0.3
43python-dateutil
54redis >= 3.2
65tenacity
1312flake8-black
1413flake8-isort
1514
15+ # Testing
16+ fakeredis >= 1.0.3
17+
1618
1719# Releasing
1820build
You can’t perform that action at this time.
0 commit comments