name: CI (bleeding edge) # this workflow is heavily inspired from pandas, see # https://github.com/pandas-dev/pandas/blob/master/.github/workflows/python-dev.yml # goal: check stability against dev versions of Python, numpy, and matplotlib 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: strategy: fail-fast: false matrix: os: - ubuntu-latest runs-on: ${{ matrix.os }} name: Test nightly dependencies timeout-minutes: 60 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v5.1.0 with: python-version: '3.13' - name: Configure uv run: | 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: Run test suite # forcing bytecode compilation for colorspacious # see https://github.com/astral-sh/uv/issues/4758 run: | uv run --no-editable --compile-bytecode --group test \ pytest --color yes --mpl-results-path=test_results - uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 if: failure() with: name: test_results path: test_results/