Skip to content

Commit 1d85783

Browse files
authored
Update build.yml
1 parent 5f20b08 commit 1d85783

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
run: |
3535
sudo apt-get update
3636
sudo apt-get install -y python3-tk
37-
- name: Install Python deps
37+
- name: Install deps
3838
run: |
39-
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
40-
python -m pip install --upgrade pip
41-
python -m pip install pytest
39+
python -m pip install --upgrade pip
40+
python -m pip install pyinstaller mutagen
41+
- name: Install project deps (requirements.txt if present)
42+
if: ${{ hashFiles('requirements.txt') != '' }}
43+
run: python -m pip install -r requirements.txt
4244
- name: Run tests
4345
env:
4446
PYTHONPATH: .

0 commit comments

Comments
 (0)