forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 841 Bytes
/
check-sdist.yml
File metadata and controls
35 lines (31 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "Check sdist"
permissions:
contents: read
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 }}