Skip to content

Package updates

Package updates #1384

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- "**/*.lock"
- "**/*.md"
- worf/__init__.py
push:
branches:
- master
- package-updates
schedule:
- cron: "0 0 * * *"
workflow_dispatch: ~
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9, "3.10", 3.11]
django: [3.2, "4.0", 4.1]
exclude:
- python: 3.11
django: 3.2
- python: 3.11
django: 4.0
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: poetry
- run: poetry install --only main,test
- run: poetry run pip install django~=${{ matrix.django }}.0 --disable-pip-version-check
- run: poetry run pytest --cov
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pipx install poetry
- run: poetry install --only lint
- run: poetry run script/check