Skip to content

Commit

Permalink
Merge pull request #10 from uwescience/caching
Browse files Browse the repository at this point in the history
Caching
  • Loading branch information
valentina-s authored Jun 24, 2024
2 parents 6bbb84f + 79842b5 commit 4968a6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/noise_processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches:
- main
- exporting_results
- caching

# schedule:
# - cron: '9 * * * *'
Expand All @@ -20,18 +20,22 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.9.18'
cache: 'pip'
cache-dependency-path: ambient_sound_analysis/requirements_noise.txt

- name: Install Python dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -r ambient_sound_analysis/requirements_noise.txt
pip install -r ambient_sound_analysis/requirements_noise.txt
- name: Install ffmpeg
run: |
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg
#- uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: ffmpeg

- name: Create plots
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
Binary file modified ambient_sound_analysis/img/broadband.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ambient_sound_analysis/img/psd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4968a6a

Please sign in to comment.