Skip to content

Commit

Permalink
Merge branch 'master' into tools/ont_fast5_api
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Dec 26, 2022
2 parents fc70bc8 + adf83f3 commit 6d09f33
Show file tree
Hide file tree
Showing 4,177 changed files with 1,369,724 additions and 1,289,226 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
40 changes: 29 additions & 11 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,13 +1,31 @@
# See documentation here:
# https://blog.github.com/2017-07-06-introducing-code-owners/
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners

tools/art/* @erasche
tools/circos/* @erasche @shiltemann
tools/jbrowse/* @erasche @abretaud
tools/blastxml_to_gapped_gff3/* @erasche
tools/gff3_rebase/* @erasche
tools/jq/* @erasche
tools/hmmer3/* @erasche
tools/progressivemauve/* @erasche
tools/ncbi_entrez_eutils/* @erasche
tools/mothur/* @shiltemann
/tool_collections/snpeff/ @nsoranzo
/tools/abyss/ @nsoranzo
/tools/ampvis2/ @bernt-matthias
/tools/art/ @hexylena
/tools/bcftools/ @nsoranzo
/tools/blastxml_to_gapped_gff3/ @hexylena
/tools/cdhit/ @nsoranzo
/tools/circos/ @hexylena @shiltemann
/tools/collection_element_identifiers/ @nsoranzo
/tools/column_maker/ @nsoranzo
/tools/dada2/ @bernt-matthias
/tools/emboss_5/ @nsoranzo
/tools/gff3_rebase/ @hexylena
/tools/hmmer3/ @hexylena @nsoranzo
/tools/jbrowse/ @hexylena @abretaud
/tools/jq/ @hexylena
/tools/minia/ @nsoranzo
/tools/mitos/ @bernt-matthias
/tools/mothur/ @shiltemann
/tools/ncbi_entrez_eutils/ @hexylena
/tools/progressivemauve/ @hexylena
/tools/prokka/ @nsoranzo
/tools/raxml/ @nsoranzo
/tools/scater/ @nsoranzo
/tools/seurat/ @nsoranzo
/tools/sickle/ @nsoranzo
/tools/stringtie/ @nsoranzo
/tools/ucsc_tools/ @nsoranzo
46 changes: 27 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
types: [run-all-tool-tests-command]
env:
GALAXY_FORK: galaxyproject
GALAXY_BRANCH: release_21.05
GALAXY_BRANCH: release_22.05
MAX_CHUNKS: 40
jobs:
setup:
name: Setup cache and determine changed repositories
if: github.repository_owner == 'galaxyproject'
if: ${{ github.repository_owner == 'galaxyproject' }}
runs-on: ubuntu-latest
outputs:
galaxy-head-sha: ${{ steps.get-galaxy-sha.outputs.galaxy-head-sha }}
Expand All @@ -27,7 +27,7 @@ jobs:
steps:
- name: Add reaction
if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
Expand All @@ -37,17 +37,17 @@ jobs:
id: get-fork-branch
run: |
TMP="${{ github.event.client_payload.slash_command.args.named.fork }}"
echo "::set-output name=fork::${TMP:-$GALAXY_FORK}"
echo "fork=${TMP:-$GALAXY_FORK}" >> $GITHUB_OUTPUT
TMP="${{ github.event.client_payload.slash_command.args.named.branch }}"
echo "::set-output name=branch::${TMP:-$GALAXY_BRANCH}"
echo "branch=${TMP:-$GALAXY_BRANCH}" >> $GITHUB_OUTPUT
- name: Determine latest commit in the Galaxy repo
id: get-galaxy-sha
run: echo "::set-output name=galaxy-head-sha::$(git ls-remote https://github.com/${{ steps.get-fork-branch.outputs.fork }}/galaxy refs/heads/${{ steps.get-fork-branch.outputs.branch }} | cut -f1)"
- uses: actions/setup-python@v1
run: echo "galaxy-head-sha=$(git ls-remote https://github.com/${{ steps.get-fork-branch.outputs.fork }}/galaxy refs/heads/${{ steps.get-fork-branch.outputs.branch }} | cut -f1)" >> $GITHUB_OUTPUT
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache .cache/pip
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-pip
with:
path: ~/.cache/pip
Expand All @@ -56,7 +56,7 @@ jobs:
# are not available as wheels, pip will build a wheel for them, which can be cached.
- name: Install wheel
run: pip install wheel
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Fake a Planemo run to update cache and determine commit range, repositories, and chunks
Expand Down Expand Up @@ -97,18 +97,23 @@ jobs:
steps:
# checkout the repository
# and use it as the current working directory
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache .cache/pip
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-pip
with:
path: ~/.cache/pip
key: pip_cache_py_${{ matrix.python-version }}_gxy_${{ needs.setup.outputs.galaxy-head-sha }}
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: Clean dotnet folder for space
run: rm -Rf /usr/share/dotnet
- name: Planemo test
uses: galaxyproject/planemo-ci-action@v1
id: test
Expand All @@ -119,7 +124,10 @@ jobs:
galaxy-branch: ${{ needs.setup.outputs.branch }}
chunk: ${{ matrix.chunk }}
chunk-count: ${{ needs.setup.outputs.chunk-count }}
- uses: actions/upload-artifact@v2
galaxy-slots: ${{ steps.cpu-cores.outputs.count }}
# Limit each test to 15 minutes
test_timeout: 900
- uses: actions/upload-artifact@v3
with:
name: 'Tool test output ${{ matrix.chunk }}'
path: upload
Expand All @@ -138,14 +146,14 @@ jobs:
# This job runs on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
path: artifacts
- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache .cache/pip
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-pip
with:
path: ~/.cache/pip
Expand All @@ -156,18 +164,18 @@ jobs:
with:
mode: combine
html-report: true
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: 'All tool test results'
path: upload
- name: Create URL to the run output
if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}
id: vars
run: echo "::set-output name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
run: echo "run-url=https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_OUTPUT

- name: Create comment
if: ${{ github.event.client_payload.slash_command.command == 'run-all-tool-tests' }}
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.PAT }}
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
Expand Down
Loading

0 comments on commit 6d09f33

Please sign in to comment.