Commit 5313158
authored
Improve efficiency on CI (#194)
* CI: Add caching for pip packages to save cycles
On subsequent invocations of the test suite on CI, when no dependencies
have been changed, the process can make full use of the package cache,
thus speeding up test runs, and skipping redundant downloads.
When any dependency file changes, the cache will be busted.
* CI: Improve efficiency on GHA
- When pushing to the same branch on a PR, cancel running jobs of the
same kind.
- Allow running the job manually from the UI, using `workflow_dispatch`.1 parent 6d288d5 commit 5313158
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
4 | 15 | | |
5 | 16 | | |
6 | 17 | | |
| |||
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
19 | 34 | | |
20 | 35 | | |
21 | 36 | | |
| |||
0 commit comments