Halyna R.#6
Conversation
Sync from HackYourAssignment/c55-data-week-5 (Grade workflow fix)
This comment has been minimized.
This comment has been minimized.
GitHub withholds AZURE_CREDENTIALS from pull_request runs that originate from a fork, causing the azure/login step to fail. The if-guard skips the Azure/ACR steps on fork PRs so CI stays green. The central Grade ACR push workflow on the assignment repo's main handles the actual push from base-repo context (where the secret is available) and comments the image URL on the PR.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
✅ Image pushed to ACR
Browse the registry in the Azure Portal: https://portal.azure.com/#@hackyourfuture.nl/resource/subscriptions/1120c89d-2a5f-4a15-a582-2ea34f0bb5c3/resourceGroups/rg-hyf-data/providers/Microsoft.ContainerRegistry/registries/hyfregistry/repository Task 7 verification: your Dockerfile built and pushed cleanly from commit |
…-week-5 into week5/halyna
This comment has been minimized.
This comment has been minimized.
|
✅ Image pushed to ACR
Browse the registry in the Azure Portal: https://portal.azure.com/#@hackyourfuture.nl/resource/subscriptions/1120c89d-2a5f-4a15-a582-2ea34f0bb5c3/resourceGroups/rg-hyf-data/providers/Microsoft.ContainerRegistry/registries/hyfregistry/repository Task 7 verification: your Dockerfile built and pushed cleanly from commit |
📝 HackYourFuture auto gradeAssignment Score: 95 / 100 ✅Status: ✅ Passed Test Details |
|
✅ Image pushed to ACR
Browse the registry in the Azure Portal: https://portal.azure.com/#@hackyourfuture.nl/resource/subscriptions/1120c89d-2a5f-4a15-a582-2ea34f0bb5c3/resourceGroups/rg-hyf-data/providers/Microsoft.ContainerRegistry/registries/hyfregistry/repository Task 7 verification: your Dockerfile built and pushed cleanly from commit |
| assert results_file.exists() | ||
|
|
||
| def test_file_contains_records(self, tmp_path): | ||
| """Test that save_results() writes the correct number of records to results.txt.""" |
There was a problem hiding this comment.
This line is causing CI to fail with E501 because it is longer than 88 characters. Wrap the docstring onto multiple lines or shorten it so ruff check src tests passes.
Complete week 5 container assignment