-
Notifications
You must be signed in to change notification settings - Fork 67
44 lines (37 loc) · 948 Bytes
/
check_links.yml
File metadata and controls
44 lines (37 loc) · 948 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
36
37
38
39
40
41
42
43
44
name: Check links
on:
schedule:
- cron: '45 01 30 * *'
jobs:
test_links_utils:
name: Check links in ipynb
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: checkout
id: checkout
uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
enable-cache: true
cache-suffix: "uv"
cache-dependency-glob: "tests/requirements.colab.2026.02.txt"
- name: Create venv
run: uv venv my_env
- name: setup environment
id: setup
run: |
source my_env/bin/activate
uv pip install -r ./utils/requirements.txt
- name: list packages
id: list_pakcages
run: |
source my_env/bin/activate
uv pip list
- name: check links
id: links
run: |
source my_env/bin/activate
python -m pytest -n auto ./tests/test_check_links_in_ipynb.py