Skip to content

Commit

Permalink
Use explicit requirements.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot committed Aug 31, 2023
1 parent c67d751 commit a64e540
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,10 @@ jobs:
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-${{ github.event.repository.name }}

- name: Install Python dependencies
if: steps.python-cache-setup.outputs.cache-hit != 'true'
run: python -m pip install --upgrade pip pytest-workflow cryptography
run: python -m pip install --upgrade -r tests/requirements.txt

- name: Install Nextflow ${{ matrix.NXF_VER }}
uses: nf-core/setup-nextflow@v1
Expand Down
3 changes: 3 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pip
pytest-workflow
cryptography

0 comments on commit a64e540

Please sign in to comment.