Skip to content

test running on windows #71

test running on windows

test running on windows #71

Workflow file for this run

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