Skip to content

Update Python and Django versions #6

Update Python and Django versions

Update Python and Django versions #6

Workflow file for this run

name: Python CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
services:
clamav:
image: clamav/clamav:stable
ports:
- 3310
strategy:
max-parallel: 1
matrix:
python-version: ["3.12", "3.11", "3.10", "3.9", "3.8", "3.7"]
steps:
- uses: actions/checkout@v4
# - name: Setup ClamAV
# run: |
# sudo apt-get install clamav-daemon clamav-freshclam
# ls /var/log -l
# ls /var/log/clamav -l
# sudo service clamav-daemon status
# sudo service clamav-freshclam status
# # sudo freshclam --verbose
# sudo service clamav-daemon start
- 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
python -m pip install tox tox-gh-actions
- name: Run Tests
env:
CLAMD_USE_TCP: True
CLAMD_TCP_SOCKET: ${{ job.services.clamav.ports[3310] }}
run: tox