Skip to content

Commit

Permalink
oh right sh not bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jsocol committed Dec 5, 2023
1 parent 72d7698 commit de7b437
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ runs:
shell: sh
run: |
python -m pip install --upgrade pip
if [[ ${{ inputs.django-version }} != 'main' ]]; then pip install --pre -q "Django>=${{ inputs.django-version }},<${{ inputs.django-version }}.99"; fi
if [[ ${{ inputs.django-version }} == 'main' ]]; then pip install https://github.com/django/django/archive/main.tar.gz; fi
if [ "${{ inputs.django-version }}" != 'main' ]; then pip install --pre -q "Django>=${{ inputs.django-version }},<${{ inputs.django-version }}.99"; fi
if [ "${{ inputs.django-version }}" = 'main' ]; then pip install https://github.com/django/django/archive/main.tar.gz; fi
pip install flake8
- name: Test
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
django: ['3.2', '4.0', '4.1', '4.2', '5.0', 'main']
django: ['3.2', '4.1', '4.2', '5.0', 'main']
exclude:
- python-version: '3.7'
django: 'main'
- python-version: '3.11'
django: '3.2'
- python-version: '3.11'
django: '4.0'
- python-version: '3.8'
django: '5.0'
- python-version: '3.9'
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

export PYTHONPATH=".:$PYTHONPATH"
export DJANGO_SETTINGS_MODULE="test_settings"
Expand Down

0 comments on commit de7b437

Please sign in to comment.