Skip to content

CI (bleeding edge) #970

CI (bleeding edge)

CI (bleeding edge) #970

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up Python Dev Version
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.13-dev
- uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v5.1.0
- 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_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" >> $GITHUB_ENV
echo "UV_INDEX_STRATEGY=unsafe-best-match" >> $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