Skip to content

Commit

Permalink
test worker and unstract/core
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtimanmishrazipstack committed Jul 29, 2024
1 parent 141ed31 commit f8d4284
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pdm-lock-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
directory: [root, backend, prompt-service, worker, unstract/core, unstract/flags, platform-service, x2text-service, document-service]
directory: [root, backend, prompt-service, worker, unstract/core, unstract/flags, platform-service, x2text-service]

steps:
- name: Checkout repository
Expand All @@ -27,7 +27,7 @@ jobs:
echo "changed=false" >> $GITHUB_OUTPUT
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git fetch origin
# git fetch origin
if git diff --quiet origin/main -- "$file_path"; then
echo "No changes detected in $file_path against origin/main branch."
else
Expand Down Expand Up @@ -77,6 +77,6 @@ jobs:
pip install pre-commit~=3.6.2
pre-commit run pdm-lock-check
git commit -m "Update pdm.lock for ${{ matrix.directory }}"
git pull origin ${{ github.ref_name }} --no-rebase
git push origin ${{ github.ref_name }}
# git pull origin ${{ github.ref_name }} --no-rebase
# git push origin ${{ github.ref_name }}
fi
2 changes: 1 addition & 1 deletion unstract/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
"botocore~=1.31.17",
"llama-index==0.10.38",
"llama-index-llms-azure-openai==0.1.5",
"redis~=5.0.1",
"redis==5.0.0",
"requests==2.31.0",
"kombu==5.3.7",
]
Expand Down
2 changes: 1 addition & 1 deletion worker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"docker==6.1.3",
"flask~=3.0.0",
"python-dotenv==1.0.0",
"redis==5.0.1",
"redis==5.0.0",
"unstract-core @ file:///${PROJECT_ROOT}/../unstract/core",
]
requires-python = ">=3.9,<3.11.1"
Expand Down

0 comments on commit f8d4284

Please sign in to comment.