Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds formatting to .github/workflows/test.yml #229

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Test Django Simple Captcha
on: [push, pull_request]

jobs:
build:

ubuntu:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
Expand All @@ -13,33 +12,40 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies

- 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

- name: Run Tests 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

- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install and upgrade packaging tools

- 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

- name: Run Tests With Tox
run: tox
Loading