Skip to content

Jerry test may 21 #165

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/upload-overwatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
# Move the CLI to a location accessible from working directories
mv overwatch-cli /usr/local/bin/overwatch-cli

- name: Run Overwatch CLI
- name: Run Overwatch CLI (agentic 2)
working-directory: ${{ matrix.project }}
run: |
overwatch-cli \
--url https://overwatch.codecov.dev \
--auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} \
--organization-slug codecov \
python \
Expand Down
8 changes: 4 additions & 4 deletions apps/codecov-api/upload/tests/views/test_test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def test_upload_test_results(db, client, mocker, mock_redis):
"commit": commit_sha,
"slug": f"{repository.author.username}::::{repository.name}",
"build": "test-build",
"buildURL": "test-build-url",
"job": "test-job",
"buildUrl": "test-build-url",
"code": "test-job",
"service": "github-actions",
"branch": "aaaaaa",
},
Expand Down Expand Up @@ -414,8 +414,8 @@ def test_upload_test_results_file_not_found(db, client, mocker, mock_redis):
"commit": commit_sha,
"slug": f"{repository.author.username}::::{repository.name}",
"build": "test-build",
"buildURL": "test-build-url",
"job": "test-job",
"buildUrl": "test-build-url",
"code": "test-job",
"service": "github-actions",
"branch": "aaaaaa",
"file_not_found": True,
Expand Down
8 changes: 4 additions & 4 deletions apps/codecov-api/upload/views/test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class UploadSerializer(serializers.Serializer):
slug = serializers.CharField(required=True)
service = serializers.CharField(required=False) # git_service
build = serializers.CharField(required=False)
buildURL = serializers.CharField(required=False)
job = serializers.CharField(required=False)
buildUrl = serializers.CharField(required=False)
code = serializers.CharField(required=False)
flags = FlagListField(required=False)
pr = serializers.CharField(required=False)
branch = serializers.CharField(required=False, allow_null=True)
Expand Down Expand Up @@ -176,8 +176,8 @@ def post(self, request):
# (eventual reports_upload columns indicated by comments)
"reportid": upload_external_id, # external_id
"build": data.get("build"), # build_code
"build_url": data.get("buildURL"), # build_url
"job": data.get("job"), # job_code
"build_url": data.get("buildUrl"), # build_url
"job": data.get("code"), # job_code
"flags": data.get("flags"),
"service": data.get("service"), # git provider
"url": storage_path, # storage_path
Expand Down