Repository navigation
CI Clean-up after Azure -> GHA move - #33403
Conversation
AnneBeyer
left a comment
There was a problem hiding this comment.
I should have added the question to the review... So here it is now.
| # Enable global random seed randomization to discover seed-sensitive tests | ||
| # only on nightly builds. | ||
| # https://scikit-learn.org/stable/computing/parallelism.html#environment-variables | ||
| export SKLEARN_TESTS_GLOBAL_RANDOM_SEED=$(($RANDOM % 20)) |
There was a problem hiding this comment.
I haven't checked if this used to be an azure-related context only, just double checking if the random seed part is removed on purpose here as well?
There was a problem hiding this comment.
The random seed generation on schedule runs is done in the yaml for Github Actions see
scikit-learn/.github/workflows/unit-tests.yml
Lines 257 to 260 in 57aa064
Having said this, it's worth adding a similar echo statement as there was on Azure, let me do this in this PR.
I also realized that in Azure we set SKLEARN_RUN_FLOAT32_TESTS=1 in scheduled runs and I don't think this was carried over to GHA ... I will do it as well in this PR while I am at it.
There was a problem hiding this comment.
I tested the schedule/manual workflow in my fork and it seems to work just fine see build log.
Everything works (step setting the random global random seed + step setting the float32 env variable + tests). CI is red because the last step that updates the tracking issue doesn't have the secrets correctly configured on my fork but it will work fine on the main repo.
|
@lesteve you can merge when you think its ready. |
This reverts commit 1ea5c6f.
Clean-up mentioned in #32434 (comment)
I double-checked that there was no Azure related thing via the
git grepbelow. The remaining files that mentions Azure:_lock.txtlock-files that mentions the previousbuild_tools/azurein a comment. I will let the automatic update-lock file handle this next Monday.