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

Build conda #332

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
37 changes: 37 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Install
on:
schedule:
- cron: '* 0 * * *'

jobs:
install:
name: Miniconda
strategy:
# Keep running so we can see if other tests pass
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-20.04
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
python-version: 3.8
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
- name: Install omero-py
shell: bash -l {0}
run: |
conda install -c conda-forge omero-py
- name: Connect to IDR
shell: bash -l {0}
run: |
conda activate test
python connect.py
11 changes: 11 additions & 0 deletions connect.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import sys
from omero.gateway import BlitzGateway
HOST = 'ws://idr.openmicroscopy.org/omero-ws'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My concerns here persist.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not suggesting to merge as it is. I will discuss post migration to RHEL 9 the demo option with @pwalczysko
I was just using it to validate.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

conn = BlitzGateway('public', 'public',
host=HOST, secure=True)
if conn.connect() is True:
print("connected")
conn.close()
else:
print("Connection failed")
sys.exit()
Loading