Skip to content

Commit

Permalink
Feat: pipdeptree (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran authored Sep 29, 2023
2 parents f4dcaca + c3c010c commit 02063e8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version-file: .github/workflows/.python-version
cache: pip
cache-dependency-path: "**/pyproject.toml"

- name: Create /static directory
run: mkdir -p eligibility_server/static

- name: Write python packages to file
run: |
python -m venv .venv
source .venv/bin/activate
pip install pipdeptree
pip install -e .
pipdeptree
pipdeptree >> eligibility_server/static/requirements.txt
- name: Write commit SHA to file
run: echo "${{ github.sha }}" >> eligibility_server/static/sha.txt

Expand Down

0 comments on commit 02063e8

Please sign in to comment.