-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (43 loc) · 1.23 KB
/
bleeding-edge.yaml
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
name: CI (bleeding edge)
# goals: check stability against dev version of Python and yt
on:
push:
branches:
- main
pull_request:
paths:
- .github/workflows/bleeding-edge.yaml
schedule:
# run this every Wednesday at 3 am UTC
- cron: 0 3 * * 3
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: CI w/ yt dev
timeout-minutes: 60
concurrency:
group: ${{ github.ref }}-dev
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python Dev Version
uses: actions/setup-python@v5
with:
python-version: 3.13-dev
- uses: astral-sh/setup-uv@v4
- name: Configure uv
run: |
echo "UV_PYTHON_PREFERENCE=only-system" >> $GITHUB_ENV
echo "UV_PYTHON=3.13" >> $GITHUB_ENV
echo "UV_PRERELEASE=allow" >> $GITHUB_ENV
echo "UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" >> $GITHUB_ENV
- name: Build
run: |
uv sync --group test --extra HDF5 --no-editable
uv pip install git+https://github.com/yt-project/yt.git
- name: Run Tests
run: |
uv run --frozen --no-editable pytest --color=yes