Skip to content

Commit

Permalink
successful official build
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvictoria committed Dec 12, 2024
1 parent 43e5a72 commit 387884b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# For all file changes, github would automatically
# include the following people in the PRs.

* @vrdmr @gavin-aguiar @YunchuWang @pdthummar @hallvictoria
* @vrdmr @gavin-aguiar @hallvictoria
10 changes: 2 additions & 8 deletions eng/ci/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ variables:
- template: /eng/templates/utils/official-variables.yml@self
- name: codeql.excludePathPatterns
value: deps/,build/
- name: codeql.language
value: python

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1es
Expand All @@ -58,14 +60,6 @@ extends:
dependsOn: Build
jobs:
- template: /eng/templates/jobs/ci-unit-tests.yml@self
- stage: RunDockerConsumptionTests
dependsOn: Build
jobs:
- template: /eng/templates/official/jobs/ci-docker-consumption-tests.yml@self
- stage: RunDockerDedicatedTests
dependsOn: Build
jobs:
- template: /eng/templates/official/jobs/ci-docker-dedicated-tests.yml@self
- stage: RunLinuxConsumptionTests
dependsOn: Build
jobs:
Expand Down
2 changes: 2 additions & 0 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ variables:
value: true
- name: codeql.runSourceLanguagesInSourceAnalysis
value: true
- name: codeql.language
value: python

extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
Expand Down
2 changes: 1 addition & 1 deletion eng/templates/official/jobs/ci-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
displayName: 'Display skipTest variable'
condition: or(eq(variables.isSdkRelease, true), eq(variables['USETESTPYTHONSDK'], true))
- bash: |
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append tests/endtoend tests/extension_tests/deferred_bindings_tests tests/extension_tests/http_v2_tests
python -m pytest -q -n auto --dist loadfile --reruns 4 --cov=./azure_functions_worker --cov-report xml --cov-branch --cov-append --ignore tests/endtoend/test_eventhub_functions.py --ignore tests/endtoend/test_eventhub_batch_functions.py --ignore tests/endtoend/test_servicebus_functions.py tests/endtoend tests/extension_tests/deferred_bindings_tests tests/extension_tests/http_v2_tests
env:
AzureWebJobsStorage: $(STORAGE_CONNECTION)
AzureWebJobsCosmosDBConnectionString: $(COSMOSDB_CONNECTION)
Expand Down
1 change: 1 addition & 0 deletions tests/unittests/test_http_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def check_log_print_to_console_stdout(self, host_out: typing.List[str]):
# System logs stdout should exist in host_out
self.assertIn('Secret42', host_out)

@testutils.retryable_test(3, 5)
@skipIf(sys.version_info < (3, 9, 0),
"Skip the tests for Python 3.8 and below")
def test_print_to_console_stderr(self):
Expand Down
1 change: 1 addition & 0 deletions tests/unittests/test_http_functions_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def test_accept_json(self):
self.assertEqual(r_json, {'a': 'abc', 'd': 42})
self.assertEqual(r.headers['content-type'], 'application/json')

@testutils.retryable_test(3, 5)
def test_unhandled_error(self):
r = self.webhost.request('GET', 'unhandled_error')
self.assertEqual(r.status_code, 500)
Expand Down

0 comments on commit 387884b

Please sign in to comment.