---
version: 2
jobs:
  build:
    docker:
      - image: circleci/python:3.9
    steps:
      - checkout
      - run:
          name: Install dependendencies
          command: sudo apt-get update && sudo apt-get install enchant
      - run:
          name: Run tox
          command: sudo pip install tox tox-pip-version && tox
      - store_artifacts:
          path: api/build
          destination: api
      - store_artifacts:
          path: docs/build
          destination: docs
      - store_artifacts:
          path: cover
          destination: cover
      - store_artifacts:
          path: coverage.xml
          destination: coverage.xml

---
version: 2
jobs:
  build:
    docker:
      - image: circleci/python:3.9
    steps:
      - checkout
      - run:
          name: Install dependendencies
          command: sudo apt-get update && sudo apt-get install enchant-2
      - run:
          name: Run tox
          command: sudo pip install tox tox-pip-version && tox
      - store_artifacts:
          path: api/build
          destination: api
      - store_artifacts:
          path: docs/build
          destination: docs
      - store_artifacts:
          path: cover
          destination: cover
      - store_artifacts:
          path: coverage.xml
          destination: coverage.xml

Fix new enchant package name
Fix new enchant package name

https://packages.debian.org/fr/bullseye/enchant-2

Change-Id: Idc5d856a8be90852c94ca213c62922e7ba6b2585
Signed-off-by: Cédric Ollivier <d48310251a4a484d041bc5d09a9ac4d86d20f793@orange.com>
