Skip to content

Bump actions/setup-python from 5.2.0 to 5.3.0 #1305

Bump actions/setup-python from 5.2.0 to 5.3.0

Bump actions/setup-python from 5.2.0 to 5.3.0 #1305

Workflow file for this run

---
name: Test
"on":
push:
pull_request:
schedule:
# Run tests every Monday at 9:17 to catch regressions.
- cron: "17 9 * * 1"
jobs:
test-generation:
name: Generate the static site
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: "3.12"
- name: Update apt
run: |
sudo apt --quiet --yes update
- name: Update node and npm
run: |
sudo apt --quiet --yes install npm
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/uv.txt
- name: Install project
run: |
uv --no-progress venv
uv --no-progress sync --all-extras
- name: Install Stork
run: |
cargo install stork-search --locked
- name: Build website
run: |
uv --no-progress run --frozen -- pelican
test-redirects:
name: Redirect rules test in production
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: "3.12"
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/uv.txt
- name: Install project
run: |
uv --no-progress venv
uv --no-progress sync --all-extras
- name: Unittests
run: |
uv --no-progress run --frozen -- pytest ./test_redirects.py