Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mimisavage authored Oct 31, 2024
1 parent 2e1de3c commit 370a295
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,28 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
echo "export PATH=$HOME/.local/bin:\$PATH" >> $GITHUB_ENV
- name: Install dependencies
working-directory: ./apps/data_handler
env:
PATH: ${{ env.PATH }}:$HOME/.local/bin
run: |
# Update lock file if it’s out of sync
poetry lock --no-update
poetry install
- name: Run Tests for Data Handler
working-directory: ./apps/data_handler
env:
PATH: ${{ env.PATH }}:$HOME/.local/bin
run: |
poetry run pytest apps/data_handler
poetry run pytest
- name: Run Tests for Shared
working-directory: ./apps/shared
env:
PATH: ${{ env.PATH }}:$HOME/.local/bin
run: |
poetry run pytest apps/shared
poetry install
poetry run pytest

0 comments on commit 370a295

Please sign in to comment.