Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Nov 23, 2022
1 parent c8bd3ba commit 5858ef2
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,21 @@ jobs:
- name: run isort
run: |
isort --check-only --quiet .
flake8:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install flake8
python-version: "3.10"
- name: Install dependencies
run: |
pip install flake8==4.0.1
- name: run flake8
run: |
flake8 . --count --show-source --statistics
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff .

pylint-disabled:
runs-on: ubuntu-latest
steps:
Expand Down

3 comments on commit 5858ef2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.10

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000214299 0.000663896 0.000252524 6.68818e-05 0.000224799 3.7825e-05 10;11 3960.02 97 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000824595 0.000949394 0.000837273 9.94911e-06 0.000834095 9.6e-06 131;28 1194.35 869 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000826895 0.00134559 0.000840049 2.09753e-05 0.000836195 9.101e-06 19;28 1190.41 771 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00122849 0.0201528 0.0013305 0.000693782 0.00128864 5.61e-05 1;51 751.598 744 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00141049 0.00203629 0.00142989 3.02437e-05 0.00142579 1.33743e-05 14;19 699.355 571 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00141499 0.00154179 0.00143354 1.21096e-05 0.00143109 1.41e-05 111;9 697.572 578 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00246998 0.0945509 0.0029053 0.00528724 0.00256358 7.62495e-05 2;13 344.199 304 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.19541 1.32497 1.24405 0.0507705 1.23504 0.0666661 1;0 0.803825 5 1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.8

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000209598 0.000584494 0.000298692 6.64499e-05 0.000302998 5.94998e-05 20;5 3347.93 83 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000910591 0.00102589 0.000923772 1.03945e-05 0.000920992 1.09005e-05 103;21 1082.52 576 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000912692 0.00107389 0.000930366 1.59705e-05 0.000926492 1.1701e-05 37;22 1074.85 570 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00137239 0.0454635 0.00156144 0.00180831 0.00145569 7.59495e-05 2;32 640.434 596 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00157239 0.00251998 0.00160132 4.85016e-05 0.00159709 1.57498e-05 9;12 624.487 405 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00157819 0.00171128 0.00160185 1.50264e-05 0.00159989 1.45745e-05 72;14 624.28 403 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00565765 0.00617474 0.00577354 8.00337e-05 0.00575445 7.9124e-05 28;8 173.204 127 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.26176 1.35844 1.32401 0.0395608 1.32561 0.0551601 1;0 0.755281 5 1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report for Python 3.9

name min max mean stddev median iqr outliers ops rounds iterations
0 tests/benchmark/test_benchmark.py::test_NodeCollector_run_and_save 0.000240106 0.000862522 0.000312085 0.000102195 0.000265906 9.33522e-05 10;7 3204.26 81 1
1 tests/benchmark/test_benchmark.py::test_InputOutput_load_lazy 0.000958125 0.00129403 0.000977846 2.36361e-05 0.000972076 2.04495e-05 29;5 1022.66 480 1
2 tests/benchmark/test_benchmark.py::test_InputOutput_load 0.000962425 0.00109023 0.000980524 1.73281e-05 0.000974426 2.24e-05 60;10 1019.86 429 1
3 tests/benchmark/test_benchmark.py::test_InputOutput_run_and_save 0.00155173 0.00325726 0.00164385 9.45402e-05 0.00162503 6.07017e-05 33;25 608.329 529 1
4 tests/benchmark/test_benchmark.py::test_NodeCollector_load 0.00160644 0.00198765 0.00163419 3.20695e-05 0.00162814 2.24508e-05 7;6 611.922 359 1
5 tests/benchmark/test_benchmark.py::test_NodeCollector_load_lazy 0.00161434 0.00179535 0.00163789 1.58439e-05 0.00163404 2.1901e-05 79;3 610.54 358 1
6 tests/benchmark/test_benchmark.py::test_InputOutput_write_graph 0.00766849 0.00893122 0.00808864 0.000301681 0.0079996 0.000466412 41;0 123.63 111 1
7 tests/benchmark/test_benchmark.py::test_NodeCollector_write_graph 1.25434 1.33457 1.28884 0.0288686 1.285 0.0234301 2;1 0.775894 5 1

Please sign in to comment.