-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Travis CI by GitHub workflows
- Loading branch information
Showing
4 changed files
with
54 additions
and
25 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# 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 | ||
|
||
name: OMERO | ||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: Run integration tests against OMERO | ||
runs-on: ubuntu-latest | ||
env: | ||
STAGE: app | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- 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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: PyPI | ||
on: push | ||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish Python distribution to PyPI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- name: Build a binary wheel and a source tarball | ||
run: | | ||
python -mpip install wheel | ||
python setup.py sdist bdist_wheel | ||
- name: Publish distribution to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@v1.3.0 | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
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