forked from galaxyproject/iwc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into split-fasta
- Loading branch information
Showing
297 changed files
with
63,771 additions
and
4,956 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
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,51 @@ | ||
name: Comment on the pull request | ||
|
||
# read-write repo token | ||
# access to secrets | ||
on: | ||
workflow_run: | ||
workflows: ["Galaxy Workflow Tests for push and PR"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
download_and_comment: | ||
runs-on: ubuntu-latest | ||
if: > | ||
github.event.workflow_run.event == 'pull_request' && | ||
github.event.workflow_run.conclusion == 'failure' | ||
steps: | ||
- name: 'Download artifact' | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
run_id: ${{github.event.workflow_run.id }}, | ||
}); | ||
var matchArtifact = artifacts.data.artifacts.filter((artifact) => { | ||
return artifact.name == 'All tool test results' | ||
})[0]; | ||
var download = await github.rest.actions.downloadArtifact({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
artifact_id: matchArtifact.id, | ||
archive_format: 'zip', | ||
}); | ||
var fs = require('fs'); | ||
fs.writeFileSync('${{github.workspace}}/upload.zip', Buffer.from(download.data)); | ||
- run: unzip upload.zip | ||
- name: 'Comment on PR' | ||
uses: actions/github-script@v7 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
var fs = require('fs'); | ||
var issue_number = Number(fs.readFileSync('./NR')); | ||
await github.rest.issues.createComment({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: issue_number, | ||
body: fs.readFileSync('./tool_test_output.md', 'utf-8') | ||
}); |
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
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
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 |
---|---|---|
|
@@ -9,9 +9,9 @@ jobs: | |
name: Setup cache and determine changed repositories | ||
uses: ./.github/workflows/setup.yml | ||
with: | ||
python-version-list: "[\"3.7\"]" | ||
python-version-list: "[\"3.11\"]" | ||
galaxy-fork: galaxyproject | ||
galaxy-branch: release_22.05 | ||
galaxy-branch: release_23.2 | ||
max-chunks: 4 | ||
|
||
# Planemo lint the changed repositories | ||
|
@@ -22,7 +22,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ['3.7'] | ||
python-version: ['3.11'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -54,10 +54,10 @@ jobs: | |
galaxy-head-sha: ${{ needs.setup.outputs.galaxy-head-sha }} | ||
chunk-count: ${{ fromJSON(needs.setup.outputs.chunk-count) }} | ||
chunk-list: ${{ needs.setup.outputs.chunk-list }} | ||
python-version-list: "[\"3.7\"]" | ||
python-version-list: "[\"3.11\"]" | ||
repository-list: ${{ needs.setup.outputs.repository-list }} | ||
galaxy-fork: galaxyproject | ||
galaxy-branch: master | ||
galaxy-branch: release_23.2 | ||
check-outputs: false | ||
|
||
combine_outputs: | ||
|
@@ -66,7 +66,7 @@ jobs: | |
needs: [setup, test] | ||
strategy: | ||
matrix: | ||
python-version: ['3.7'] | ||
python-version: ['3.11'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
|
@@ -87,6 +87,13 @@ jobs: | |
with: | ||
mode: combine | ||
html-report: true | ||
markdown-report: true | ||
- run: cat upload/tool_test_output.md >> $GITHUB_STEP_SUMMARY | ||
- name: Save PR number | ||
run: echo ${{ github.event.number }} > ./upload/NR | ||
- name: Debug PR number | ||
run: | | ||
cat ./upload/NR | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: 'All tool test results' | ||
|
@@ -103,7 +110,7 @@ jobs: | |
needs: [setup,test,combine_outputs] | ||
strategy: | ||
matrix: | ||
python-version: ['3.7'] | ||
python-version: ['3.11'] | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' && github.repository_owner == 'galaxyproject' | ||
steps: | ||
|
@@ -139,3 +146,25 @@ jobs: | |
workflows: true | ||
workflow-namespace: iwc-workflows | ||
github-token: ${{ secrets.IWC_WORKFLOWS_BOT_TOKEN }} | ||
|
||
deploy-report: | ||
name: Report deploy status | ||
needs: [deploy] | ||
if: ${{ always() && needs.deploy.result != 'success' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' ) && github.repository_owner == 'galaxyproject' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
# report to the PR if deployment failed | ||
- name: Get PR object | ||
uses: 8BitJonny/[email protected] | ||
id: getpr | ||
with: | ||
sha: ${{ github.event.after }} | ||
- name: Create comment | ||
uses: peter-evans/create-or-update-comment@v3 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
issue-number: ${{ steps.getpr.outputs.number }} | ||
body: | | ||
Attention: deployment ${{ needs.deploy.result }}! | ||
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
14 changes: 14 additions & 0 deletions
14
workflows/VGP-assembly-v2/Assembly-Hifi-HiC-phasing-VGP4/.dockstore.yml
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,14 @@ | ||
version: 1.2 | ||
workflows: | ||
- name: main | ||
subclass: Galaxy | ||
publish: true | ||
primaryDescriptorPath: /Assembly-Hifi-HiC-phasing-VGP4.ga | ||
testParameterFiles: | ||
- /Assembly-Hifi-HiC-phasing-VGP4-tests.yml | ||
authors: | ||
- name: Galaxy | ||
- name: VGP | ||
url: https://vertebrategenomeproject.org | ||
- name: Delphine Lariviere | ||
orcid: 0000-0001-6421-3484 |
Oops, something went wrong.