Skip to content

Merge branch 'main' of github.com:FeloxleF/ActivMind #13

Merge branch 'main' of github.com:FeloxleF/ActivMind

Merge branch 'main' of github.com:FeloxleF/ActivMind #13

Workflow file for this run

name: Django CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:latest
env:
MYSQL_ROOT_PASSWORD: root # Remplacez ceci par votre mot de passe root MySQL
MYSQL_DATABASE: test_activmind # Remplacez ceci par le nom de votre base de données
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
working-directory: ./activmindback
run:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
working-directory: ./activmindback
run: python manage.py test