nightly.yaml
This file
Path
.github/workflows/nightly.yaml
69 lines · 2.8 KiB · YAML
Last changed by
Run Flask's test suite in the nightly workflow (#3768)Rowlando13before adoptioncbd7a41
History of this fileTake it
Run Flask's test suite in the nightly workflow (#3768)Rowlando13before adoptioncbd7a41
line 1why, one step back1name: Nightly testsMerge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 2–11why, one step back2on:3 schedule:4 - cron: '0 6 * * *'5 workflow_dispatch:6permissions: {}7concurrency:8 group: ${{ github.workflow }}9 cancel-in-progress: false10jobs:11 race-tests:Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
lines 12–13why, one step back12 name: ${{ matrix.config.name }} (${{ matrix.branch }})13 runs-on: ${{ matrix.config.os || 'ubuntu-latest' }}Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 14–16why, one step back14 strategy:15 fail-fast: false16 matrix:Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
lines 17–18why, one step back17 branch: [main, stable]18 config:Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 19–30why, one step back19 - {name: Random 3.14, python: '3.14', tox: random}20 - {name: Random 3.14t, python: '3.14t', tox: random}21 - {name: Random 3.13, python: '3.13', tox: random}22 - {name: Random 3.12, python: '3.12', tox: random}23 - {name: Random 3.11, python: '3.11', tox: random}24 - {name: Random 3.10, python: '3.10', tox: random}25 - {name: Random Windows, python: '3.14', tox: random, os: windows-latest}26 - {name: Random Mac, python: '3.14', tox: random, os: macos-latest}27 - {name: Stress 3.14, python: '3.14', tox: stress-py3.14}28 - {name: Stress 3.14t, python: '3.14t', tox: stress-py3.14t}29 - {name: Stress Mac 3.14t, python: '3.14t', tox: stress-py3.14t, os: macos-latest}30 steps:Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4
line 31why, one step back31 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 32–33why, one step back32 with:33 persist-credentials: falseMerge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
line 34why, one step back34 ref: ${{ matrix.branch }}Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4
line 35why, one step back35 - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 36–37why, one step back36 with:37 enable-cache: trueUpdate all GitHub actions (#3721)Rowlando13before adoption5aa8ac4
line 38why, one step back38 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
line 39why, one step back39 with:Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
line 40why, one step back40 python-version: ${{ matrix.config.python }}Merge branch 'stable'Kevin Deldyckebefore adoption3a40e43
lines 41–42why, one step back41 - run: uv run --locked --no-default-groups --group dev tox run42 env:Merge `stable` into `main` after `CHANGES` rST to Markdown conversion (#3563)Kevin Deldyckebefore adoption8a1b1a3
line 43why, one step back43 TOX_ENV: ${{ matrix.config.tox }}Run Flask's test suite in the nightly workflow (#3768)Rowlando13before adoptioncbd7a41
lines 44–69why, one step back44 flask-tests:45 name: Flask (${{ matrix.branch }})46 runs-on: ubuntu-latest47 strategy:48 fail-fast: false49 matrix:50 branch: [main, stable]51 steps:52 # Check out Flask, not Click: the Click branch under test is installed53 # from git below, so Flask's own suite runs against it.54 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.155 with:56 persist-credentials: false57 repository: pallets/flask58 - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.059 with:60 enable-cache: true61 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.062 with:63 python-version: '3.14'64 - run: uv sync --all-extras65 # --with overlays the Click branch on top of the version Flask's lock66 # pins, so a downstream regression shows up as a Flask test failure.67 - run: uv run --with "git+https://github.com/pallets/click.git@${CLICK_REF}" -- pytest68 env:69 CLICK_REF: ${{ matrix.branch }}