Test against Django 5.1 #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Django Simple Captcha | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get install gettext | |
python -m pip install --upgrade pip wheel | |
pip install tox tox-gh-actions | |
- name: Test with tox | |
run: tox | |
windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: | |
- '3.12' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and upgrade packaging tools | |
run: python -m pip install --upgrade pip setuptools wheel | |
- run: python -m pip install tox tox-gh-actions | |
- name: Run tests | |
run: tox |