Skip to content

Commit 634331e

Browse files
committed
perf: requirements compilation
1 parent a71c996 commit 634331e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pi_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
pip-compile \
7575
--output-file ${{ matrix.app }}/requirements/${{ matrix.parent_image_type }}-requirements.txt \
7676
submodules/parent-images/requirements/${{ matrix.parent_image_type }}-requirements.in
77+
78+
pip-compile \
79+
--output-file ${{ matrix.app }}/requirements.txt \
80+
${{ matrix.app }}/requirements/requirements.in
7781
7882
- name: Perform Edit/Git Operations
7983
run: |
@@ -85,7 +89,7 @@ jobs:
8589
git checkout -b ${{ github.event.pull_request.head.ref }} || git checkout ${{ github.event.pull_request.head.ref }}
8690
git push origin ${{ github.event.pull_request.head.ref }} && git pull origin ${{ github.event.pull_request.head.ref }}
8791
88-
git add requirements/${{ matrix.parent_image_type }}-requirements.txt
92+
git add requirements*
8993
git commit -m "ci: update ${{ matrix.parent_image_type }}-requirements.txt"
9094
git push origin ${{ github.event.pull_request.head.ref }}
9195
echo "::notice::${{ matrix.app }} updated to origin/${{ github.event.pull_request.head.ref }}"

0 commit comments

Comments
 (0)