-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Update python-integration-tests.yml #2533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
da62af2
Update python-integration-tests.yml
shawncal ffd4f33
run all tests for merge queue
awharrison-28 37e674a
Merge branch 'main' into actions/python-int-test-path
awharrison-28 4a17bf2
Update python-integration-tests.yml
lemillermicrosoft 94115f5
Merge branch 'main' into actions/python-int-test-path
awharrison-28 2f1854f
Merge branch 'main' into actions/python-int-test-path
awharrison-28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -17,8 +17,29 @@ permissions: | |||||
contents: read | ||||||
|
||||||
jobs: | ||||||
paths-filter: | ||||||
runs-on: ubuntu-latest | ||||||
outputs: | ||||||
pythonChanges: ${{ steps.filter.outputs.python}} | ||||||
steps: | ||||||
- uses: actions/checkout@v3 | ||||||
- uses: dorny/paths-filter@v2 | ||||||
id: filter | ||||||
with: | ||||||
filters: | | ||||||
python: | ||||||
- 'python/**' | ||||||
# run only if 'python' files were changed | ||||||
- name: python tests | ||||||
if: steps.filter.outputs.python == 'true' | ||||||
run: echo "Python file" | ||||||
# run only if not 'python' files were changed | ||||||
- name: not python tests | ||||||
if: steps.filter.outputs.python != 'true' | ||||||
run: echo "NOT python file" | ||||||
|
||||||
python-merge-gate: | ||||||
if: ${{ github.event_name != 'pull_request' && github.event_name != 'schedule'}} | ||||||
if: ${{ github.event_name != 'pull_request' && github.event_name != 'schedule' && needs.paths-filter.outputs.pythonChanges == 'true' }} | ||||||
runs-on: ${{ matrix.os }} | ||||||
strategy: | ||||||
max-parallel: 1 | ||||||
|
@@ -70,16 +91,10 @@ jobs: | |||||
AZURE_COGNITIVE_SEARCH_ENDPOINT: ${{secrets.AZURE_COGNITIVE_SEARCH_ENDPOINT}} | ||||||
run: | | ||||||
cd python | ||||||
poetry run pytest ./tests/integration/completions/test_azure_oai_chat_service.py -v | ||||||
poetry run pytest ./tests/integration/completions/test_oai_chat_service.py -v | ||||||
poetry run pytest ./tests/integration/completions/test_hf_local_text_completions.py -v | ||||||
poetry run pytest ./tests/integration/connectors/memory/test_chroma.py -v | ||||||
poetry run pytest ./tests/integration/connectors/memory/test_qdrant_memory_store.py -v | ||||||
poetry run pytest ./tests/integration/planning -v | ||||||
poetry run pytest ./tests/integration/embeddings -v | ||||||
poetry run pytest ./tests/integration -v | ||||||
|
||||||
python-integration-tests: | ||||||
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} | ||||||
if: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && needs.paths-filter.outputs.pythonChanges == 'true' }} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
runs-on: ${{ matrix.os }} | ||||||
strategy: | ||||||
max-parallel: 1 | ||||||
|
@@ -183,7 +198,7 @@ jobs: | |||||
|
||||||
- name: Microsoft Teams Notification | ||||||
uses: skitionek/notify-microsoft-teams@master | ||||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' | ||||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' | ||||||
with: | ||||||
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }} | ||||||
dry_run: ${{ env.run_type != 'Daily' && env.run_type != 'Manual'}} | ||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like this didn't work quite right... Maybe I'm missing something.
https://github.com/microsoft/semantic-kernel/actions/runs/5955500956/job/16154270036
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.