Commit a5b2bfa
authored
build(medcat): CU-869aujr7h Add nightly workflow to check library stability (#171)
* CU-869aujr7h: Add nightly workflow to check library stability
* CU-869aujr7h: Update working directory in new workflow
* CU-869aujr7h: Update comment in new workflow
* CU-869aujr7h: Disallow incompatible transformers version
* CU-869aujr7h: Fix worklflow install / sync
* CU-869aujr7h: Make worklflow only have read permissions
* CU-869aujr7h: Install without lock
* CU-869aujr7h: Use non-uv pip for lock-free install
* CU-869aujr7h: Force usage of correct python version in workflow
* CU-869aujr7h: Fix versions in workflow (3.10 instead of 3.1)
* Typing fix for regression utils
* Typing fix for modern bert RelCAT
* CU-869aujr7h: Change the way tests timeout is set up
* CU-869aujr7h: Attempt to fix builds on Windows by ignoring Windows + python 3.9
* CU-869aujr7h: Remove python 3.9 from matrix
* CU-869aujr7h: Attempt fix mock for Windows
* CU-869aujr7h: Use CPU-only torch for MacOS in workflow to avoid MPS issues
* CU-869aujr7h: Force installation to happen through bash so IF works on Windows
* CU-869aujr7h: Add 3.13 for lib stability workflow
* CU-869aujr7h: [NEEDS TO BE REVERTED] Only run on MacOS and Windows on 3.10.
This commit TEMPORARILY (while the workflows are failing) makes them only
run on Windows and MacOS (which are the workflows that are failing) and on
python 3.10 so as to lower the overall number of workflow runners.
* CU-869aujr7h: Allow 45 minutes for tests so tests on MacOS don't time out
* CU-869aujr7h: Use temporary directory instead of named temp file for Windows compatibility
* CU-869aujr7h: Avoid heavy RAM tests (DeID) on MacOS during CI
* CU-869aujr7h: Ignore further tests for MacOS runner
* CU-869aujr7h: Make component tests more flexible
* CU-869aujr7h: Fix test skip method call
* Revert "CU-869aujr7h: [NEEDS TO BE REVERTED] Only run on MacOS and Windows on 3.10."
This reverts commit f201270.
* CU-869aujr7h: Remove push-specific workflow triggers
* CU-869avau57: Require numpy 2.1 or above for python 3.13
* CU-869aujr7h: Rename helper method to avoid heavy RAM tests on MacOS in CI1 parent 8960255 commit a5b2bfa
File tree
7 files changed
+112
-13
lines changed- .github/workflows
- medcat-v2
- medcat/utils
- tests
- components
- ner/trf
- utils
- ner
7 files changed
+112
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | | - | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | | - | |
| 226 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
48 | | - | |
49 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
50 | 69 | | |
51 | 70 | | |
52 | 71 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| 284 | + | |
| 285 | + | |
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| |||
171 | 178 | | |
172 | 179 | | |
173 | 180 | | |
| 181 | + | |
| 182 | + | |
174 | 183 | | |
175 | 184 | | |
176 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments