Skip to content

Commit

Permalink
Fix: GitHub workflows apt update before installation of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Sep 14, 2023
1 parent 9babbc9 commit bdf9280
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get install libsndfile1
sudo apt-get update && sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install pytest hypothesis coverage pytest-coverage
python -m pip install .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- name: Install soundevent
run: |
sudo apt-get install libsndfile1
sudo apt-get update && sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install .
- uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt-get install libsndfile1
sudo apt-get update && sudo apt-get install libsndfile1
python -m pip install --upgrade pip
pip install build
- name: Build package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get install libsndfile1
sudo apt-get update && sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install pytest hypothesis ruff mypy black
python -m pip install .
Expand Down

0 comments on commit bdf9280

Please sign in to comment.