Update python-app.yml #9
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: OMERO | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: Run integration tests against OMERO | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout omero-test-infra | |
uses: actions/checkout@main | |
with: | |
repository: ome/omero-test-infra | |
path: .omero | |
- name: Launch OMERO test database | |
run: .omero/compose up -d | |
- name: checkout arc_omero | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Build arc_omero | |
run: | | |
pip install --upgrade pip | |
pip install "omero-cli-transfer @ git+https://github.com/MicheleBortol/omero-cli-transfer.git" | |
pip install ".[dev]" | |
- name: Run tests | |
run: | | |
pip install pytest | |
- name: Stop OMERO test database | |
run: .omero/compose down |