-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image verification support to CI (#117)
* Update pr.yaml * Update * Update pr.yaml * Add `pip install pillow` * Temporarilly fix CI * Update pr.yaml * Update ci.yaml * Add test tool from `/test/functional/tools/image_diff.xml` * Update pr.yaml * Add .shed.yml * Add missing test files * Switch CI to galaxy fork `kostrykin/galaxy` branch `galaxy-image-analysis` This is a temporary change to enable the features from: - galaxyproject/galaxy#17556 - galaxyproject/galaxy#17581 * Remove `test` tool
- Loading branch information
Showing
2 changed files
with
70 additions
and
4 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 |
---|---|---|
|
@@ -6,8 +6,8 @@ on: | |
repository_dispatch: | ||
types: [run-all-tool-tests-command] | ||
env: | ||
GALAXY_FORK: galaxyproject | ||
GALAXY_BRANCH: release_23.2 | ||
GALAXY_FORK: kostrykin # Temporary change to enable the features from https://github.com/galaxyproject/galaxy/pull/17556 and https://github.com/galaxyproject/galaxy/pull/17581 | ||
GALAXY_BRANCH: galaxy-image-analysis # Temporary change to enable the features from https://github.com/galaxyproject/galaxy/pull/17556 and https://github.com/galaxyproject/galaxy/pull/17581 | ||
MAX_CHUNKS: 40 | ||
jobs: | ||
setup: | ||
|
@@ -96,6 +96,25 @@ jobs: | |
with: | ||
path: ~/.cache/pip | ||
key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }} | ||
# | ||
# --------------------------------------------------------- | ||
# This is a temporary addition to enable the features from | ||
# - https://github.com/galaxyproject/galaxy/pull/17556 | ||
# - https://github.com/galaxyproject/galaxy/pull/17581 | ||
# | ||
- name: Planemo setup | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
with: | ||
mode: setup | ||
repository-list: ${{ needs.setup.outputs.repository-list }} | ||
tool-list: ${{ needs.setup.outputs.tool-list }} | ||
additional-planemo-options: --biocontainers -s tests,output,inputs,help,general,command,citations,tool_xsd,xml_order,tool_urls,shed_metadata | ||
- run: | | ||
python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/util | ||
python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/tool_util | ||
# | ||
# --------------------------------------------------------- | ||
# | ||
- name: Planemo lint | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
id: lint | ||
|
@@ -150,6 +169,28 @@ jobs: | |
id: cpu-cores | ||
- name: Clean dotnet folder for space | ||
run: rm -Rf /usr/share/dotnet | ||
# | ||
# --------------------------------------------------------- | ||
# This is a temporary addition to enable the features from | ||
# - https://github.com/galaxyproject/galaxy/pull/17556 | ||
# - https://github.com/galaxyproject/galaxy/pull/17581 | ||
# | ||
- name: Planemo setup | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
with: | ||
mode: setup | ||
repository-list: ${{ needs.setup.outputs.repository-list }} | ||
galaxy-fork: ${{ needs.setup.outputs.fork }} | ||
galaxy-branch: ${{ needs.setup.outputs.branch }} | ||
chunk: ${{ matrix.chunk }} | ||
chunk-count: ${{ needs.setup.outputs.chunk-count }} | ||
- run: | | ||
python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/util | ||
python -m pip install git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/tool_util | ||
python -m pip install pillow | ||
# | ||
# --------------------------------------------------------- | ||
# | ||
- name: Planemo test | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
id: test | ||
|
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 |
---|---|---|
|
@@ -16,8 +16,8 @@ on: | |
- 'docs/**' | ||
- '*' | ||
env: | ||
GALAXY_FORK: galaxyproject | ||
GALAXY_BRANCH: release_23.2 | ||
GALAXY_FORK: kostrykin # Temporary change to enable the features from https://github.com/galaxyproject/galaxy/pull/17556 and https://github.com/galaxyproject/galaxy/pull/17581 | ||
GALAXY_BRANCH: galaxy-image-analysis # Temporary change to enable the features from https://github.com/galaxyproject/galaxy/pull/17556 and https://github.com/galaxyproject/galaxy/pull/17581 | ||
MAX_CHUNKS: 4 | ||
MAX_FILE_SIZE: 1M | ||
concurrency: | ||
|
@@ -133,6 +133,18 @@ jobs: | |
if: ${{ github.event_name != 'pull_request' }} | ||
run: | | ||
echo "FAIL_LEVEL=error" >> "$GITHUB_ENV" | ||
# | ||
# --------------------------------------------------------- | ||
# This is a temporary addition to enable the features from | ||
# - https://github.com/galaxyproject/galaxy/pull/17556 | ||
# - https://github.com/galaxyproject/galaxy/pull/17581 | ||
# | ||
- run: | | ||
python -m pip install --no-dependencies git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/util | ||
python -m pip install --no-dependencies git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/tool_util | ||
# | ||
# --------------------------------------------------------- | ||
# | ||
- name: Planemo lint | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
id: lint | ||
|
@@ -292,6 +304,19 @@ jobs: | |
id: cpu-cores | ||
- name: Clean dotnet folder for space | ||
run: rm -Rf /usr/share/dotnet | ||
# | ||
# --------------------------------------------------------- | ||
# This is a temporary addition to enable the features from | ||
# - https://github.com/galaxyproject/galaxy/pull/17556 | ||
# - https://github.com/galaxyproject/galaxy/pull/17581 | ||
# | ||
- run: | | ||
python -m pip install --no-dependencies git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/util | ||
python -m pip install --no-dependencies git+https://[email protected]/galaxyproject/galaxy.git@5c1d045ce7b1e45f85608346baed5455324ee967#subdirectory=packages/tool_util | ||
python -m pip install pillow | ||
# | ||
# --------------------------------------------------------- | ||
# | ||
- name: Planemo test | ||
uses: galaxyproject/planemo-ci-action@v1 | ||
id: test | ||
|