Skip to content

Commit bdd34fa

Browse files
CI fixes (#377)
* Fixed memtier when DB is password protected * Fixed pycpuinfo error on arm darwin setups * Added profile data HASH docs * Ensuring CI is testing ubuntu 18 to 22.04 and python 3.7 to 3.10 * Fixed profile data querying * Simplified CI process * Fixed 3.1 - 3.10 tox * Installing poetry in the new manner * Using tox 4 * Updating poetry locks * build system update * flake8 fixes * Updated test logic WRT to env var check * reverted removal of redis installer * Fixed export test missing args * Added google.benchmark.json input file
1 parent 5ac28bb commit bdd34fa

File tree

18 files changed

+1495
-1019
lines changed

18 files changed

+1495
-1019
lines changed

.github/workflows/tox.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ jobs:
99
pytest:
1010
strategy:
1111
matrix:
12-
python-version: [ 3.6, 3.7, 3.8 ]
13-
os: [ ubuntu-20.04, ubuntu-18.04 ]
12+
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
1413
env:
1514
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
16-
USING_COVERAGE: "3.8"
17-
USING_COVERAGE_OS: "ubuntu-20.04"
15+
USING_COVERAGE: "3.10"
16+
USING_COVERAGE_OS: "ubuntu-latest"
1817

19-
runs-on: ${{ matrix.os }}
18+
runs-on: "ubuntu-latest"
2019
name: os ${{ matrix.os }} python ${{ matrix.python-version }} Linting, testing, and compliance
2120
steps:
2221
- uses: actions/checkout@master
@@ -29,11 +28,13 @@ jobs:
2928
- uses: docker-practice/actions-setup-docker@master
3029

3130
- name: Install Poetry
32-
uses: dschep/install-poetry-action@v1.3
31+
run: |
32+
curl -sSL https://install.python-poetry.org | python3 -
3333
34-
- name: Install Tox
34+
- name: Install Dev requirements
3535
run: |
36-
pip3 install black coverage flake8 tox tox-docker tox-poetry
36+
pip install -U setuptools wheel
37+
pip install -r dev_requirements.txt
3738
3839
- name: Set Submodules
3940
run: |

dev_requirements.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
click==8.0.4
2+
black==22.3.0
3+
flake8==4.0.1
4+
flynt~=0.69.0
5+
isort==5.10.1
6+
mock==4.0.3
7+
packaging>=20.4
8+
pytest==6.2.5
9+
pytest-timeout==2.0.1
10+
pytest-asyncio>=0.16.0
11+
tox==3.24.4
12+
tox-docker==4.0.0a2
13+
invoke==1.6.0
14+
pytest-cov>=3.0.0
15+
vulture>=2.3.0
16+
ujson>=4.2.0
17+
wheel>=0.30.0

0 commit comments

Comments
 (0)