Merge pull request #599 from knabar/maint-build #1067
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Install | |
on: | |
push: | |
pull_request: | |
jobs: | |
install: | |
name: Install distribution from source | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: python -mpip install --upgrade wheel | |
- name: Install Ice | |
run: pip install https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp39-cp39-linux_x86_64.whl | |
- name: Run tests | |
run: python setup.py sdist && pip install dist/omero-web*gz | |
- name: Test import | |
run: python -c "import omeroweb.version as owv; print(owv.omeroweb_version)" |