Skip to content

Commit

Permalink
drop python 3.7 testing, update dev env to python 3.8, use pip-tools …
Browse files Browse the repository at this point in the history
…to manage test requirements for consistency
  • Loading branch information
jmichalicek committed Nov 25, 2023
1 parent bf97277 commit 525417f
Show file tree
Hide file tree
Showing 4 changed files with 323 additions and 14 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
django-version: ["django==3.2.*", "django==4.1.*", "django==4.2.*"]
exclude:
- python-version: "3.11"
django-version: "django==3.2.*"
- python-version: "3.7"
django-version: "django==4.1.*"
- python-version: "3.7"
django-version: "django==4.2.*"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -39,4 +35,4 @@ jobs:
- name: Run Tests
run: |
coverage run --source djfractions runtests.py
coverage report
coverage report
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7 AS dev
FROM python:3.8 AS dev
#FROM python:3.10.5-bullseye AS dev
LABEL maintainer="Justin Michalicek <[email protected]>"
ENV PYTHONUNBUFFERED 1
Expand Down
7 changes: 7 additions & 0 deletions requirements-test.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
coverage
coveralls
flake8
typing-extensions # for backported typing stuff
mypy
django-stubs
tox
Loading

0 comments on commit 525417f

Please sign in to comment.