Skip to content

Bump django from 5.0.8 to 5.0.9 #64

Bump django from 5.0.8 to 5.0.9

Bump django from 5.0.8 to 5.0.9 #64

name: CI linter and unit tests
on: [push, pull_request]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache Python environment
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('ci_requirements.txt') }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r ci_requirements.txt
- name: Run flake8
run: flake8 .
- name: Run unittests
run: python -m unittest discover scraping