Skip to content

Commit 6e5457b

Browse files
committed
DNM
1 parent 88af74a commit 6e5457b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/python.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,17 @@ jobs:
234234
setuptools:
235235
name: Setuptools install
236236
needs: pre-commit
237-
runs-on: ubuntu-20.04
237+
runs-on: ubuntu-latest
238+
container: ubuntu:20.04
238239
steps:
239-
- name: Check out repo
240-
uses: actions/checkout@v4
241240
- name: Install dependencies
242241
run: |
243-
sudo apt-get update
244-
sudo apt-get install -y libopenslide0 python3-pil
242+
apt-get update
243+
DEBIAN_FRONTEND=noninteractive apt-get install -y \
244+
git libopenslide0 python3-pil
245245
pip install pytest
246+
- name: Check out repo
247+
uses: actions/checkout@v4
246248
- name: Install OpenSlide Python
247249
run: sudo python setup.py install
248250
- name: Run tests

0 commit comments

Comments
 (0)