diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 58766e3f938..70993055b7c 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -4,6 +4,7 @@ env: GALAXY_FORK: galaxyproject GALAXY_BRANCH: release_21.09 MAX_CHUNKS: 4 + MAX_FILE_SIZE: 500k concurrency: # group runs by PR, but keep runs on master separate # because we do not want to cancel toolshed uploads @@ -215,6 +216,35 @@ jobs: name: 'R linting output' path: rlint_report.txt + file_sizes: + name: Check file sizes + needs: setup + if: ${{ github.event_name == 'pull_request' && needs.setup.outputs.repository-list != '' }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + - name: Save repositories to file + run: echo '${{ needs.setup.outputs.repository-list }}' > repository_list.txt + - name: Check file sizes + run: | + while read repo; do + find "$repo" -size +${{ env.MAX_FILE_SIZE }} + done < repository_list.txt > file_size_report.txt + if [[ -s file_size_report.txt ]]; then + echo "Files larger than ${{ env.MAX_FILE_SIZE }} found" + cat file_size_report.txt + exit 1 + fi + - uses: actions/upload-artifact@v2 + if: ${{ failure() }} + with: + name: 'File size report' + path: file_size_report.txt + # Planemo test the changed repositories, each chunk creates an artifact # containing HTML and JSON reports for the executed tests test: diff --git a/tools/artic/artic_guppyplex.xml b/tools/artic/artic_guppyplex.xml index 61b6c6ac628..77e4fa6d1e1 100644 --- a/tools/artic/artic_guppyplex.xml +++ b/tools/artic/artic_guppyplex.xml @@ -1,4 +1,4 @@ - + Filter Nanopore reads by read length and (optionally) quality macros.xml @@ -47,4 +47,4 @@ .. _ARTIC: https://artic.readthedocs.io/en/latest/ ]]> - \ No newline at end of file + diff --git a/tools/gatk4/macros.xml b/tools/gatk4/macros.xml index b50db04faf4..3ca76a79308 100644 --- a/tools/gatk4/macros.xml +++ b/tools/gatk4/macros.xml @@ -1,7 +1,7 @@ 4.1.7.0 - @VERSION@+galaxy0 + @VERSION@+galaxy1