test submodules checkout

This commit is contained in:
Piotr Faba 2020-03-06 14:38:49 +00:00
parent 977a9b3ee8
commit 36cad50593

View file

@ -10,13 +10,8 @@ jobs:
steps: steps:
# Check out the repository # Check out the repository
- uses: actions/checkout@v2 - uses: actions/checkout@v1
- name: Checkout submodules submodules: true
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install Nextflow - name: Install Nextflow
run: | run: |
@ -24,4 +19,4 @@ jobs:
sudo mv nextflow /usr/local/bin/ sudo mv nextflow /usr/local/bin/
# Test the module # Test the module
- run: nextflow run ./tools/cutadapt/sort/test_paired/ -ansi-log false - run: nextflow run ./tools/cutadapt/sort/test_paired/main.nf -ansi-log false