File tree Expand file tree Collapse file tree 2 files changed +33
-4
lines changed
Expand file tree Collapse file tree 2 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ services:
1313
1414 rabbitmq :
1515 image : rabbitmq:management
16- mem_limit : 512m
16+ mem_limit : 1024m
1717 mem_reservation : 128m
18- cpus : 0.5
18+ cpus : 1
1919 # Prevent huge memory usage by limiting the number
2020 # of file descriptors
2121 ulimits :
Original file line number Diff line number Diff line change 1212 POETRY_VIRTUALENVS_CREATE : false
1313
1414jobs :
15+ test :
16+ runs-on : ubuntu-latest
17+ strategy :
18+ matrix :
19+ python-version : ["3.8", "3.9", "3.10"]
20+ steps :
21+ - uses : actions/checkout@v3
22+
23+ - name : Install poetry
24+ run : pip install poetry
25+
26+ - uses : actions/setup-python@v4
27+ with :
28+ python-version : ${{ matrix.python-version }}
29+ cache : " pip"
30+ cache-dependency-path : " poetry.lock"
31+
32+ - name : Install dependencies
33+ run : poetry install
34+
35+ - name : Lint
36+ run : make lint
37+
38+ - name : Run docker-compose stack for testing
39+ run : make docker-up
40+
41+ - name : Test
42+ run : make test
43+
1544 test-build-docs :
1645 runs-on : ubuntu-latest
1746 steps :
2150 - uses : actions/setup-python@v3
2251 with :
2352 python-version : 3.x
24- cache : ' pip'
25- cache-dependency-path : ' poetry.lock'
53+ cache : " pip"
54+ cache-dependency-path : " poetry.lock"
2655 - name : Install dependencies
2756 run : poetry install
2857 - run : mkdocs build --verbose --clean --strict
You can’t perform that action at this time.
0 commit comments