Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Update gha+dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed May 12, 2023
1 parent f726e11 commit 84a0e11
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
cache-dependency-path: poetry.lock
- name: Install dependencies
run: |
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name: Django CI

on:
pull_request:
pull_request_target:
branches:
- main
- master
push:
branches:
- main
- master
workflow_dispatch:

Expand All @@ -20,7 +18,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
cache-dependency-path: poetry.lock
- name: Install poetry and dependencies
shell: bash
Expand All @@ -39,7 +37,7 @@ jobs:
max-parallel: 6
matrix:
python-version: [ '3.9', '3.10', '3.11' ]
django-version: [ '3.2.18', '4.2' ]
django-version: [ '3.2.19', '4.2.1' ]
outputs:
version: ${{ steps.getVersion.outputs.VERSION }}
steps:
Expand Down Expand Up @@ -76,10 +74,10 @@ jobs:
max-parallel: 6
matrix:
python-version: [ '3.9', '3.10', '3.11' ]
django-version: [ '3.2.18', '4.2' ]
django-version: [ '3.2.19', '4.2.1' ]
include:
- python-version: '3.11'
django-version: '4.2'
django-version: '4.2.1'
coverage: yes
services:
redis:
Expand Down
Loading

0 comments on commit 84a0e11

Please sign in to comment.