Check sdist #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check sdist" | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
check-sdist: | |
# Don't run on forks | |
if: github.repository == 'scikit-learn/scikit-learn' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
# scipy and cython are required to build sdist | |
run: | | |
python -m pip install --upgrade pip | |
pip install check-sdist | |
- run: | | |
check-sdist --inject-junk | |
update-tracker: | |
uses: ./.github/workflows/update_tracking_issue.yml | |
if: ${{ always() }} | |
needs: [check-sdist] | |
with: | |
job_status: ${{ needs.check-sdist.result }} | |
secrets: | |
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} |