Skip to content

Utilisation de diff-cover dans le job de couverture de code de GHA #93

Utilisation de diff-cover dans le job de couverture de code de GHA

Utilisation de diff-cover dans le job de couverture de code de GHA #93

Workflow file for this run

name: Check lint
on:
pull_request:
branches:
- production
- main
push:
branches:
- production
- main
jobs:
black:
name: Check black has been run
runs-on: ubuntu-latest
steps:
- name: Setup git
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r web/requirements.app.txt
pip install -r web/requirements.dev.txt
- name: Check black has nothing to do
run: black . --check