diff --git a/.github/workflows/pytest-workflow.yml b/.github/workflows/pytest-workflow.yml index 8cc9b9f5..2e2edc69 100644 --- a/.github/workflows/pytest-workflow.yml +++ b/.github/workflows/pytest-workflow.yml @@ -3,6 +3,7 @@ on: [push, pull_request] jobs: changes: + name: Check for changes runs-on: ubuntu-latest outputs: # Expose matched filters as job 'modules' output variable @@ -43,11 +44,24 @@ jobs: key: ${{ runner.os }}-nextflow-${{ matrix.nxf_version }} restore-keys: | ${{ runner.os }}-nextflow- - - name: Nextflow pytest-workflow - uses: Emiller88/pytest-workflow-composite-action@master + + - name: Install Nextflow + env: + NXF_VER: ${{ matrix.nxf_version }} + run: | + wget -qO- get.nextflow.io | bash + sudo mv nextflow /usr/local/bin/ + + - name: Set up Python + uses: actions/setup-python@v2 with: - pytest_tags: ${{ matrix.tags }} - nxf_version: ${{ matrix.nxf_version }} + python-version: "3.x" + - name: Install dependencies + run: python -m pip install --upgrade pip pytest-workflow + + # Test the module + - name: Run pytest-workflow + run: pytest --tag ${{ matrix.tags }} --symlink --wt 2 - name: Upload logs on failure if: ${{ failure() }}