Skip to content

Commit

Permalink
Prep and start testing on django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Dec 12, 2023
1 parent 54d6ccb commit df37f35
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 160 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ on: [push, pull_request]
jobs:
test:
name: Test
strategy:
matrix:
python-version: ["3.10.x", "3.11.x"]
django-version: ["4.2.x", "5.0.x"]
env:
python-version: "3.10.x"
redis-version: "6.2"
pg-version: "15"
runs-on: ubuntu-22.04
Expand All @@ -28,7 +31,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: ${{ env.python-version }}
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: snok/install-poetry@v1
Expand All @@ -38,6 +41,7 @@ jobs:
- name: Initialize environment
run: |
poetry install --no-root
poetry add django==${{ matrix.django-version }}
sudo npm install -g coffee-script less
ln -s ${{ github.workspace }}/ureport/settings.py.postgres ${{ github.workspace }}/ureport/settings.py
Expand Down
Loading

0 comments on commit df37f35

Please sign in to comment.