OMERO #408
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
# Install and test and OMERO plugin e.g. a Web app, a CLI plugin or a library | |
# | |
# This workflow will install omero-test-infra, start an OMERO environment | |
# including database, server and web deployment, configure the OMERO plugin | |
# and run integration tests. | |
# | |
# 1. Set up the stage variable depending on the plugin. Supported stages | |
# are: app, cli, scripts, lib, srv | |
# | |
# 2. Adjust the cron schedule as necessary | |
name: OMERO | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
test: | |
name: Run integration tests against OMERO | |
runs-on: ubuntu-latest | |
env: | |
STAGE: cli | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout omero-test-infra | |
uses: actions/checkout@master | |
with: | |
repository: ome/omero-test-infra | |
path: .omero | |
ref: ${{ secrets.OMERO_TEST_INFRA_REF }} | |
- name: Build and run OMERO tests | |
run: .omero/docker $STAGE |