Bump kdeldycke/workflows from 4.6.0 to 4.8.3 #1326
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/checkout@v4.1.7 | |
- uses: actions/setup-python@v5.2.0 | |
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/checkout@v4.1.7 | |
- uses: actions/setup-python@v5.2.0 | |
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 |