Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit f12450e

Browse files
committed
ensure requirements.txt not zero length
1 parent f1c96b0 commit f12450e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/code.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,11 @@ jobs:
9595
touch requirements.txt
9696
touch requirements_dev.txt
9797
pip install -r requirements.txt -e .
98-
pip freeze --exclude-editable >> requirements.txt
98+
pip freeze --exclude-editable > requirements.txt
9999
pip install -r requirements_dev.txt -e .[dev]
100-
pip freeze --exclude-editable >> requirements_dev.txt
100+
pip freeze --exclude-editable > requirements_dev.txt
101+
# ensure non-zero length requirements.txt
102+
echo "# runtime dependencies" >> requirements.txt
101103
102104
- name: Install with latest dependencies
103105
if: ${{ ! matrix.lock }}

0 commit comments

Comments
 (0)