File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
1010 strategy :
1111 matrix :
1212 python-version : [ 3.6, 3.7, 3.8 ]
13- os : [ ubuntu-latest ]
13+ os : [ ubuntu-20.04, ubuntu-18.04 ]
1414 env :
1515 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
1616 USING_COVERAGE : " 3.8"
17+ USING_COVERAGE_OS : " ubuntu-20.04"
1718
1819 runs-on : ${{ matrix.os }}
1920 name : os ${{ matrix.os }} python ${{ matrix.python-version }} Linting, testing, and compliance
5051 tox
5152
5253 - name : Upload coverage to Codecov
53- uses : codecov/codecov-action@v1
54- if : contains(env.USING_COVERAGE, matrix.python-version)
54+ uses : codecov/codecov-action@v2
55+ if : contains(env.USING_COVERAGE, matrix.python-version) && contains(env.USING_COVERAGE_OS, matrix.os)
5556 with :
5657 fail_ci_if_error : true
Original file line number Diff line number Diff line change 88import logging
99import os
1010import sys
11-
11+ import numpy
1212import toml
1313
1414from redisbench_admin import __version__
2727from redisbench_admin .watchdog .args import create_watchdog_arguments
2828from redisbench_admin .watchdog .watchdog import watchdog_command_logic
2929
30+ numpy .random .BitGenerator = numpy .random .bit_generator .BitGenerator
3031
3132LOG_LEVEL = logging .DEBUG
3233if os .getenv ("VERBOSE" , "0" ) == "0" :
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ commands =
99 coverage erase
1010 coverage run --include =redisbench_admin/* -m pytest -ra {posargs}
1111 coverage report -m
12+ coverage xml
1213
1314docker =
1415 rts_datasink
You can’t perform that action at this time.
0 commit comments