Skip to content

Commit 061ad4c

Browse files
committed
DNM
1 parent 88af74a commit 061ad4c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/python.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,16 @@ 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+
apt-get install -y git libopenslide0 python3-pil
245244
pip install pytest
245+
- name: Check out repo
246+
uses: actions/checkout@v4
246247
- name: Install OpenSlide Python
247248
run: sudo python setup.py install
248249
- name: Run tests

0 commit comments

Comments
 (0)