Skip to content

Renovations, spring 2024 #22

Renovations, spring 2024

Renovations, spring 2024 #22

Workflow file for this run

name: build
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: "3.8"
DJANGO: "django>=2.0,<3"
- python-version: "3.8"
DJANGO: "django>=3.0,<4"
- python-version: "3.10"
DJANGO: "django>=4.0,<5"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
cache: pip
- uses: actions/checkout@v4
- run: "pip install $DJANGO -e .[dev,poster]"
env:
DJANGO: "${{ matrix.DJANGO }}"
- run: py.test -vvv --cov .
- uses: codecov/codecov-action@v4
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/checkout@v4
- uses: pre-commit/[email protected]
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/checkout@v4
- run: pip install build
- run: python -m build