Skip to content

Bump version to 2.5.0 #61

Bump version to 2.5.0

Bump version to 2.5.0 #61

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
django-version: [4.2.20, 5.1.9, 5.2.1]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -q Django==${{ matrix.django-version }} flake8 coverage djangorestframework
- name: Lint with flake8
run: |
flake8 --exclude "vote/migrations/*" vote
- name: Test with coverage
run: |
coverage run runtests.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1