Skip to content

Commit dc37b85

Browse files
committed
system installs
1 parent 4e21c3b commit dc37b85

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/scripts/install_ubuntu_deps.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ sudo apt-get install -y libpng-dev
99
wget -q https://lilypond.org/download/binaries/linux-64/lilypond-2.22.1-1.linux-64.sh
1010
sh lilypond-2.22.1-1.linux-64.sh --batch
1111
export PATH=/home/runner/bin:$PATH
12-
uv pip install wheel
13-
uv pip install -e '.[dev]'
1412
python3 -m compileall music21

.github/workflows/maincheck.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
enable-cache: true
2727
cache-dependency-glob: |
2828
pyproject.toml
29+
- name: Install dependencies
30+
run: |
31+
uv pip install --system -e '.[dev]'
2932
- name: Install Ubuntu dependencies
3033
run: ./.github/scripts/install_ubuntu_deps.sh
3134
- name: Setup Lilypond
@@ -56,8 +59,7 @@ jobs:
5659
pyproject.toml
5760
- name: Install dependencies
5861
run: |
59-
uv pip install wheel
60-
uv pip install -e '.[dev]'
62+
uv pip install --system -e '.[dev]'
6163
- name: Install music21 in editable mode
6264
run: |
6365
uv pip install -e .
@@ -83,8 +85,7 @@ jobs:
8385
pyproject.toml
8486
- name: Install dependencies
8587
run: |
86-
uv pip install wheel
87-
uv pip install -e '.[dev]'
88+
uv pip install --system -e '.[dev]'
8889
- name: Code-style etc. with Ruff
8990
run: |
9091
uv run ruff check music21
@@ -107,8 +108,7 @@ jobs:
107108
pyproject.toml
108109
- name: Install dependencies
109110
run: |
110-
uv pip install wheel
111-
uv pip install -e '.[dev]'
111+
uv pip install --system -e '.[dev]'
112112
- name: Type-check all modules with mypy
113113
run: |
114114
uv run mypy music21

0 commit comments

Comments
 (0)