-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (65 loc) · 1.69 KB
/
scheduled.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Code generated by internal/ci/github/ci_tool.cue; DO NOT EDIT.
permissions:
contents: read
"on":
push:
branches:
- main
pull_request: null
schedule:
- cron: 7 7 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: rolling
env:
UV_VERSION: 0.5.15
jobs:
nightly:
runs-on: ubuntu-latest
name: ubuntu / 3.14-dev
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up uv
uses: astral-sh/setup-uv@v5
with:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install python
uses: actions/setup-python@v5
with:
python-version: 3.14-dev
- run: python --version
- name: uv lock
if: hashFiles('uv.lock') == ''
run: uv lock
- name: uv sync --dev
run: uv sync --dev --all-packages --all-extras
- name: make test
run: make test
update:
runs-on: ubuntu-latest
name: ubuntu / 3.13 / updates work
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up uv
if: hashFiles('uv.lock') != ''
uses: astral-sh/setup-uv@v5
with:
version: ${{ env.UV_VERSION }}
enable-cache: true
- name: Install 3.13
if: hashFiles('uv.lock') != ''
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: uv sync --dev --upgrade
if: hashFiles('uv.lock') != ''
run: uv sync --dev --upgrade --all-packages --all-extras
- name: make test
if: hashFiles('uv.lock') != ''
run: make test