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

Added CI support for testing against edge versions

parent fc630f2c
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -63,6 +63,33 @@ jobs:
      - name: Run pipeline with test data
        run: |
          nextflow run ${GITHUB_WORKSPACE} -profile docker,test_full_small
  #####################################
  ### EDGE VERSION INTEGRATION TEST ###
  #####################################
  test:
    name: Run standard pipeline test
    # Only run on push if this is the nf-core dev branch (merged PRs)
    if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/cutandrun') }}
    runs-on: ubuntu-latest
    env:
      NXF_VER: ''
      NXF_EDGE: 1
      NXF_ANSI_LOG: false
    steps:
      - name: Check out pipeline code
        uses: actions/checkout@v2

      - name: Install Nextflow
        run: |
          wget -qO- get.nextflow.io | bash
          sudo mv nextflow /usr/local/bin/

      - name: Run pipeline with test data
        run: |
          nextflow run ${GITHUB_WORKSPACE} -profile docker,test


  NXF_EDGE: 1
  ##############################
  ###      UNIT TESTS        ###
  ##############################