Skip to content

Add pytz to package's install_requires #45

Add pytz to package's install_requires

Add pytz to package's install_requires #45

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://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI Checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install .[build]
- name: Build
run: |
make dist
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
django-version: [ "4", "5" ]
exclude:
- python-version: "3.7"
django-version: "4"
- python-version: "3.7"
django-version: "5"
- python-version: "3.8"
django-version: "5"
- python-version: "3.9"
django-version: "5"
- python-version: "3.11"
django-version: "3"
- python-version: "3.12"
django-version: "3"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install Django==${{ matrix.django-version }}
pip install -r requirements_dev.txt
- name: Lint
run: |
make lint
- name: Test
run: |
make test