Skip to content

Commit

Permalink
Merge pull request #37 from microsoft/python
Browse files Browse the repository at this point in the history
corrected env file line break
  • Loading branch information
sethjuarez authored Jul 11, 2024
2 parents e712c74 + d650039 commit 05bb8cf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/prompty-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ jobs:

- uses: pdm-project/setup-pdm@v3

- name: installd dependencies
working-directory: ./runtime/prompty
run: pdm install

- name: write fake env file
working-directory: ./runtime/prompty
run: |
echo "AZURE_OPENAI_ENDPOINT=https://fake\nAZURE_OPENAI_KEY=123432" > .env
echo "AZURE_OPENAI_ENDPOINT=https://fake\\nAZURE_OPENAI_KEY=123432" > .env
cat .env
- name: install dependencies
working-directory: ./runtime/prompty
run: pdm install


- name: test package
working-directory: ./runtime/prompty
run: pdm run pytest
Expand Down

0 comments on commit 05bb8cf

Please sign in to comment.