Skip to content

bump

bump #6

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Py ${{ matrix.python }} / Django ${{ matrix.django }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12']
django: ['4.2']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools
pip install --upgrade Django~=${{ matrix.django }}
pip install --upgrade pytz
- name: Test build
run: |
python setup.py -q build
- name: Run Tests
run: |
export PYTHONWARNINGS="default"
make test
coverage:
name: Coverage / Py ${{ matrix.python }} / Django ${{ matrix.django }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.12']
django: ['4.2']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade Django~=${{ matrix.django }}
pip install --upgrade pytz
pip install --upgrade coveralls
- name: Run Tests
run: |
coverage run --source=. runtests.py
- name: Submit to coveralls
env:
COVERALLS_FLAG_NAME: run-${{ matrix.python }}-${{ matrix.django }}
COVERALLS_PARALLEL: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github
coveralls --finish