Skip to content

Commit

Permalink
Run actions on windowns
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi committed Dec 19, 2023
1 parent 592d50c commit 0808fce
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,34 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v1
- 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
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:
max-parallel: 4
matrix:
python-version: "3.11"

python-version:
- '3.12'
steps:
- uses: actions/checkout@v1
- 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
pip install tox tox-gh-actions
- name: Test with tox
run: tox -e py311-django50
- 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

0 comments on commit 0808fce

Please sign in to comment.