Commit f8c4cebf authored by Chris Cheshire's avatar Chris Cheshire
Browse files

Added retrys to all CI

parent 4185a415
Loading
Loading
Loading
Loading
+15 −9
Original line number Original line Diff line number Diff line
@@ -49,9 +49,11 @@ jobs:
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz


      - name: Run pipeline
      - name: Run Pipeline
        run: |
        uses: Wandalen/wretry.action@v1.0.11
          nextflow run ${GITHUB_WORKSPACE} -profile docker,test_local_zip
        with:
          command: nextflow run ${GITHUB_WORKSPACE} -profile docker,test_local_zip
          attempt_limit: 2


  ##############################
  ##############################
  ### LARGE INTEGRATION TEST ###
  ### LARGE INTEGRATION TEST ###
@@ -89,9 +91,11 @@ jobs:
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz


      - name: Run pipeline with test data
      - name: Run Pipeline
        run: |
        uses: Wandalen/wretry.action@v1.0.11
          nextflow run ${GITHUB_WORKSPACE} -profile docker,test_full_small_local_zip
        with:
          command: nextflow run ${GITHUB_WORKSPACE} -profile docker,test_full_small_local_zip
          attempt_limit: 2


  #####################################
  #####################################
  ### EDGE VERSION INTEGRATION TEST ###
  ### EDGE VERSION INTEGRATION TEST ###
@@ -127,9 +131,11 @@ jobs:
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.fa.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz
          wget -q https://raw.githubusercontent.com/nf-core/test-datasets/cutandrun/reference/genomes/e_coli_U00096_3.tar.gz


      - name: Run pipeline with test data
      - name: Run Pipeline
        run: |
        uses: Wandalen/wretry.action@v1.0.11
          nextflow run ${GITHUB_WORKSPACE} -profile docker,test_local_zip
        with:
          command: nextflow run ${GITHUB_WORKSPACE} -profile docker,test_local_zip
          attempt_limit: 2


  ##############################
  ##############################
  ###      UNIT TESTS        ###
  ###      UNIT TESTS        ###