git link back to requirements.in #74
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
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: source includes.sh dcb | |
# Ideally this would come from default.settings_module() | |
- run: source includes.sh dcr web python -m pytest --ds=demodj.settings | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version-file: .nvmrc | |
- run: npm install --frozen-lockfile | |
- uses: actions/setup-python@v5 | |
with: | |
python-version-file: .python-version | |
- run: | | |
pip install --disable-pip-version-check --progress-bar off --upgrade \ | |
"$(grep ^uv requirements.txt)" | |
- run: uv venv | |
- run: source includes.sh && ups && a && pcam --color always --show-diff-on-failure | |
- run: .venv/bin/python -m build | |
- run: .venv/bin/twine check dist/* | |
- run: .venv/bin/python -m manage check | |
- run: .venv/bin/python -m manage makemigrations --check | |
summarize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: source includes.sh summarize | |
on: # yamllint disable-line rule:truthy | |
- pull_request |