Commit 4764d07
authored
Improve pytest speed (#1440)
* WIP: revise test scope, mark expected speed
* WIP: refactor tests for mocking dependencies
* WIP: mock deps 2
* WIP: blackify
* WIP: mock deps 3
* WIP: mock deps 4
* blackify
* WIP: isolate mocks, remove prints
* WIP: isolate mocks 2
* WIP: fix fails
* WIP: fix fails 2
* WIP: fix decoding mocking 1
* WIP: fix decoding mocking 2
* Rotate container name and port by branch name
* WIP: fix decoding mock 3
* WIP: Fix decoding mocks 4
* WIP: Fix decoding mocks 5
* WIP: Skip rotate container name in gh-actions
* blackify
* Fix default port when --no-docker
* Fix default port when --no-docker
* WIP: fix decoder mock 6
* Refactor common recompute test code
* WIP: fix refactor
* Revise gh-action tests. Fast on push, full on merge
* Fix merge conflict
* Blackify
* Update tests doc
* PR comments
* Update changelog
* Update pyproject
* declare_all_merge_tables: List -> Tuple1 parent b17c225 commit 4764d07
File tree
46 files changed
+2221
-340
lines changed- .github/workflows
- src/spyglass
- common
- decoding/v1
- linearization/v1
- spikesorting/v1
- utils
- tests
- common
- data_import
- decoding
- lfp
- linearization
- position
- v1
- spikesorting
- v0
- v1
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+2221
-340
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
21 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
22 | 36 | | |
23 | 37 | | |
24 | 38 | | |
| |||
29 | 43 | | |
30 | 44 | | |
31 | 45 | | |
32 | | - | |
| 46 | + | |
| 47 | + | |
33 | 48 | | |
34 | 49 | | |
35 | 50 | | |
36 | 51 | | |
37 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
38 | 57 | | |
39 | 58 | | |
40 | 59 | | |
| |||
52 | 71 | | |
53 | 72 | | |
54 | 73 | | |
55 | | - | |
56 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
57 | 78 | | |
58 | 79 | | |
59 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
60 | 92 | | |
| 93 | + | |
61 | 94 | | |
62 | 95 | | |
63 | 96 | | |
| |||
78 | 111 | | |
79 | 112 | | |
80 | 113 | | |
81 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
82 | 151 | | |
83 | 152 | | |
84 | 153 | | |
| 154 | + | |
85 | 155 | | |
86 | 156 | | |
87 | 157 | | |
88 | 158 | | |
89 | 159 | | |
| 160 | + | |
| 161 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments