Skip to content

Commit 4968a6a

Browse files
authored
Merge pull request #10 from uwescience/caching
Caching
2 parents 6bbb84f + 79842b5 commit 4968a6a

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/noise_processing.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
push:
77
branches:
88
- main
9-
- exporting_results
9+
- caching
1010

1111
# schedule:
1212
# - cron: '9 * * * *'
@@ -20,18 +20,22 @@ jobs:
2020
- uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.9.18'
23+
cache: 'pip'
24+
cache-dependency-path: ambient_sound_analysis/requirements_noise.txt
2325

2426
- name: Install Python dependencies
2527
run: |
26-
python -m pip install -U pip
27-
python -m pip install -U setuptools wheel
28-
python -m pip install -r ambient_sound_analysis/requirements_noise.txt
28+
pip install -r ambient_sound_analysis/requirements_noise.txt
2929
3030
3131
- name: Install ffmpeg
3232
run: |
33-
sudo apt-get update
34-
sudo apt-get install ffmpeg
33+
sudo apt-get update
34+
sudo apt-get install ffmpeg
35+
36+
#- uses: awalsh128/cache-apt-pkgs-action@latest
37+
# with:
38+
# packages: ffmpeg
3539

3640
- name: Create plots
3741
if: steps.cache.outputs.cache-hit != 'true'
2.19 KB
Loading

ambient_sound_analysis/img/psd.png

-2.67 KB
Loading

0 commit comments

Comments
 (0)