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 06b14a5 commit 6d39549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,16 @@ 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

- uses: actions/cache@v3
id: nextflow-cache-setup
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}-nextflow-${{ matrix.NXF_VER }}-${{ github.event.repository.name }}
key: ${{ runner.os }}-nextflow-${{ matrix.NXF_VER }}

- name: Install Nextflow ${{ matrix.NXF_VER }}
if: steps.nextflow-cache-setup.outputs.cache-hit != 'true'
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 6d39549

Please sign in to comment.