chore: Bump django from 3.2.25 to 4.2.16 #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.9" | |
- "3.10" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pipenv | |
pipenv sync --dev --system | |
- name: Lint with flake8 | |
run: | | |
flake8 etip/ | |
- name: Check if lock is uptodate | |
run: | | |
pipenv install --deploy | |
- name: Check vulnerabilites in dependencies | |
run: | | |
pipenv check | |
continue-on-error: true | |
- name: Run tests | |
run: | | |
cd etip | |
python manage.py test | |
env: | |
DJANGO_SETTINGS_MODULE: etip.settings.dev |