Skip to content

Commit fb6efcd

Browse files
committed
DNM
1 parent 88af74a commit fb6efcd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/python.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,17 +234,19 @@ 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 python3-pip
245245
pip install pytest
246+
- name: Check out repo
247+
uses: actions/checkout@v4
246248
- name: Install OpenSlide Python
247-
run: sudo python setup.py install
249+
run: python setup.py install
248250
- name: Run tests
249251
run: pytest -v
250252
- name: Tile slide

0 commit comments

Comments
 (0)