Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: switch setuptools job to Ubuntu 20.04 container #314

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,21 +234,23 @@ jobs:
setuptools:
name: Setuptools install
needs: pre-commit
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libopenslide0 python3-pil
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
git libopenslide0 python3-jinja2 python3-pil python3-pip
pip install pytest
- name: Check out repo
uses: actions/checkout@v4
- name: Install OpenSlide Python
run: sudo python setup.py install
run: python3 setup.py install
- name: Run tests
run: pytest -v
- name: Tile slide
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs
run: python3 examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs

docs:
name: Docs
Expand Down
Loading