refactor: Move away from composite-action

This commit is contained in:
Edmund Miller 2021-02-02 12:18:59 -06:00
parent 6da00a8a1b
commit ce2a5b32f5
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -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() }}