diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 736b3f9..4e7c4ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,23 @@ jobs: run: behave tests/test_functional/features +jobs: + qualite: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: 'pip' # caching pip dependencies + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Install dev dependencies + run: pip install -r requirements_test.txt + - name: coverage + run: python -m pytest --cov=formation_indus_ds_avancee/ tests/test_unit/ -vv -p no:warnings + -name: pyramide des tests + run: ./tests/tests_pyramid.sh