Skip to content

Commit

Permalink
ci: download sample for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jul 24, 2024
1 parent 903b330 commit 8a9433a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/validate-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@ jobs:
#----------------------------------------------
# Run Giskard validation for champion model
#----------------------------------------------
- name: Download sample data
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry run python3 -m src.download_sample
- name: Validate champion model
run: poetry run mlflow run . --env-manager=local -e validate
8 changes: 8 additions & 0 deletions src/download_sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import gdown

gdown.download(
"https://drive.google.com/uc?id=1OrOPS0GDsFno3FzukmOqPzETFsDYbiiU",
"data/samples/sample.csv",
quiet=False,
use_cookies=False,
)

0 comments on commit 8a9433a

Please sign in to comment.