Skip to content

Commit cfede85

Browse files
✨ Parametrize requirements directory
1 parent b5aeb32 commit cfede85

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ inputs:
1414
required: true
1515
default: '3.10'
1616

17+
python-requirements-dir:
18+
description: Path to directory with requirements file(s) to install
19+
required: false
20+
default: 'requirements/'
21+
1722
optimize-postgres:
1823
description: >
1924
Tune postgres for non-durable but faster tests. Requires 'pg-service' name. Set
@@ -81,7 +86,7 @@ runs:
8186
with:
8287
python-version: ${{ inputs.python-version }}
8388
cache: 'pip'
84-
cache-dependency-path: 'requirements/*.txt'
89+
cache-dependency-path: '${{ inputs.python-requirements-dir }}*.txt'
8590

8691
- name: Install backend dependencies
8792
run: |

0 commit comments

Comments
 (0)