From f994d55c18fdedaecfb170659b653f11374bdb5b Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Wed, 9 Dec 2020 09:56:11 -0600 Subject: [PATCH] style: Fix indent on workflows --- .github/workflows/bwa_index.yml | 58 +++++++++---------- .github/workflows/multiqc.yml | 30 +++++----- .../picard_collectmultiplemetrics.yml | 2 +- 3 files changed, 44 insertions(+), 46 deletions(-) diff --git a/.github/workflows/bwa_index.yml b/.github/workflows/bwa_index.yml index 609fde64..a2cfe096 100644 --- a/.github/workflows/bwa_index.yml +++ b/.github/workflows/bwa_index.yml @@ -1,36 +1,36 @@ name: bwa_index on: - push: - paths: - - software/bwa/index/** - - .github/workflows/bwa_index.yml - - tests/software/bwa/** - pull_request: - paths: - - software/bwa/index/** - - .github/workflows/bwa_index.yml - - tests/software/bwa/** + push: + paths: + - software/bwa/index/** + - .github/workflows/software/bwa_index.yml + - tests/software/bwa/** + pull_request: + paths: + - software/bwa/index/** + - .github/workflows/software/bwa_index.yml + - tests/software/bwa/** jobs: - ci_test: - runs-on: ubuntu-latest - env: - NXF_ANSI_LOG: false - steps: - - uses: actions/checkout@v2 + ci_test: + runs-on: ubuntu-latest + env: + NXF_ANSI_LOG: false + steps: + - uses: actions/checkout@v2 - - name: Install Nextflow - run: | - export NXF_VER="20.07.1" - wget -qO- get.nextflow.io | bash - sudo mv nextflow /usr/local/bin/ + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: "3.x" - - name: Install dependencies - run: python -m pip install --upgrade pip pytest-workflow + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.x" + - name: Install dependencies + run: python -m pip install --upgrade pip pytest-workflow - # Test the module - - run: pytest --tag bwa_index --symlink --wt 2 + # Test the module + - run: pytest --tag bwa_index --symlink --wt 2 diff --git a/.github/workflows/multiqc.yml b/.github/workflows/multiqc.yml index 37a830bd..49f39d2e 100644 --- a/.github/workflows/multiqc.yml +++ b/.github/workflows/multiqc.yml @@ -17,22 +17,20 @@ jobs: env: NXF_ANSI_LOG: false steps: + - uses: actions/checkout@v2 - - uses: actions/checkout@v2 + - name: Install Nextflow + run: | + export NXF_VER="20.07.1" + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ - - name: Install Nextflow - run: | - export NXF_VER="20.07.1" - wget -qO- get.nextflow.io | bash - sudo mv nextflow /usr/local/bin/ - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: "3.x" - - name: Install dependencies - run: python -m pip install --upgrade pip pytest-workflow - - # Test the module - - run: pytest --tag multiqc --symlink --wt 2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.x" + - name: Install dependencies + run: python -m pip install --upgrade pip pytest-workflow + # Test the module + - run: pytest --tag multiqc --symlink --wt 2 diff --git a/.github/workflows/picard_collectmultiplemetrics.yml b/.github/workflows/picard_collectmultiplemetrics.yml index b9176d72..945f7cfc 100644 --- a/.github/workflows/picard_collectmultiplemetrics.yml +++ b/.github/workflows/picard_collectmultiplemetrics.yml @@ -1,4 +1,4 @@ -name: picard_collectmultiplemetrics.yml +name: picard_collectmultiplemetrics on: push: paths: