(id)
| 35 | |
| 36 | |
| 37 | def getArtifactData(id): |
| 38 | testResultsResponse = requests.get( |
| 39 | f"https://api.github.com/repos/deepnote/vscode-deepnote/actions/artifacts/{id}/zip", |
| 40 | headers={ |
| 41 | "Accept": "application/vnd.github+json", |
| 42 | "Authorization": f"Bearer {authtoken}", |
| 43 | }, |
| 44 | ) |
| 45 | |
| 46 | if testResultsResponse.status_code != 200: |
| 47 | print(f"Error {testResultsResponse.status_code} getting artifact {id}") |
| 48 | |
| 49 | return testResultsResponse.content |
| 50 | |
| 51 | |
| 52 | def getResultsJson(zipData): |