File tree Expand file tree Collapse file tree 3 files changed +59
-3
lines changed Expand file tree Collapse file tree 3 files changed +59
-3
lines changed Original file line number Diff line number Diff line change
1
+ contourpy == 1.1.0 ; python_version >= "3.8" and python_full_version < "3.12.0"
2
+ cycler == 0.11.0 ; python_version >= "3.8" and python_full_version < "3.12.0"
3
+ fonttools == 4.41.1 ; python_version >= "3.8" and python_full_version < "3.12.0"
4
+ importlib-resources == 6.0.0 ; python_version >= "3.8" and python_version < "3.10"
5
+ kiwisolver == 1.4.4 ; python_version >= "3.8" and python_full_version < "3.12.0"
6
+ matplotlib == 3.7.2 ; python_version >= "3.8" and python_full_version < "3.12.0"
7
+ numpy == 1.24.4 ; python_version >= "3.8" and python_version < "3.12"
8
+ opencv-python-headless == 4.8.0.74 ; python_version >= "3.8" and python_full_version < "3.12.0"
9
+ packaging == 23.1 ; python_version >= "3.8" and python_full_version < "3.12.0"
10
+ pillow == 10.0.1 ; python_version >= "3.8" and python_full_version < "3.12.0"
11
+ pyparsing == 3.0.9 ; python_version >= "3.8" and python_full_version < "3.12.0"
12
+ python-dateutil == 2.8.2 ; python_version >= "3.8" and python_full_version < "3.12.0"
13
+ pyyaml == 6.0.1 ; python_version >= "3.8" and python_full_version < "3.12.0"
14
+ scipy == 1.10.1 ; python_version >= "3.8" and python_version < "3.12"
15
+ six == 1.16.0 ; python_version >= "3.8" and python_full_version < "3.12.0"
16
+ zipp == 3.16.2 ; python_version >= "3.8" and python_version < "3.10"
17
+ pytest == 7.4.0 ; python_version >= "3.8" and python_full_version < "3.12.0"
Original file line number Diff line number Diff line change
1
+
2
+ name : Clear cache
3
+
4
+ on :
5
+ schedule :
6
+ - cron : ' 0 0 1 * *'
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ actions : write
11
+
12
+ jobs :
13
+ clear-cache :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Clear cache
17
+ uses : actions/github-script@v6
18
+ with :
19
+ script : |
20
+ console.log("About to clear")
21
+ const caches = await github.rest.actions.getActionsCacheList({
22
+ owner: context.repo.owner,
23
+ repo: context.repo.repo,
24
+ })
25
+ for (const cache of caches.data.actions_caches) {
26
+ console.log(cache)
27
+ github.rest.actions.deleteActionsCacheById({
28
+ owner: context.repo.owner,
29
+ repo: context.repo.repo,
30
+ cache_id: cache.id,
31
+ })
32
+ }
33
+ console.log("Clear completed")
Original file line number Diff line number Diff line change @@ -15,12 +15,18 @@ jobs:
15
15
uses : actions/checkout@v3
16
16
- name : π Set up Python ${{ matrix.python-version }}
17
17
uses : actions/setup-python@v4
18
+ # Β id based on python version
19
+ id : python-setup
18
20
with :
19
21
python-version : ${{ matrix.python-version }}
20
- - name : π¦Ύ Install dependencies
22
+ check-latest : true
23
+ cache : ' pip'
24
+ cache-dependency-path : ' **/requirements-dev.txt'
25
+
26
+ - name : π¦ Install dependencies
21
27
run : |
22
28
python -m pip install --upgrade pip
23
- pip install -e .
24
- pip install pytest
29
+ pip install -r .github/requirements-dev.txt
30
+
25
31
- name : π§ͺ Test
26
32
run : " python -m pytest ./test"
You canβt perform that action at this time.
0 commit comments