Skip to content

Commit

Permalink
Remove Django 5.0; add a workaround for Python 2.7 since it's not ava…
Browse files Browse the repository at this point in the history
…ilable for github actions
  • Loading branch information
omonbek22 committed Oct 30, 2023
1 parent a8ad85b commit 73fbfda
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,21 @@ jobs:
- {django: '==4.2.*', python: '3.10', os: 'ubuntu-latest'}
- {django: '==4.2.*', python: '3.11', os: 'ubuntu-latest'}

- {django: '==5.0.*', python: '3.12', os: 'ubuntu-latest'}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Setup Python v. >2.7
if: ${{ matrix.python != '2.7' }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Setup Python v2.7
if: ${{ matrix.python == '2.7' }}
uses: MatteoH2O1999/setup-python@v1
with:
python-version: ${{ matrix.python }}
allow-build: info
cache-build: true
cache: pip
- name: update pip
run: |
pip install -U wheel
Expand Down

0 comments on commit 73fbfda

Please sign in to comment.