ci: add ddt to the tests requirements and update the contributing file accordingly

pull/442/head
QuentinN42 3 years ago
parent e018da186e
commit 0354c335c4
No known key found for this signature in database
GPG Key ID: 2CD7D563712B3A50

@ -45,7 +45,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Append GitHub Actions system path
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: pip install coveralls
- run: pip install coveralls ddt
- run: pip install .
- run: coverage run --source=yamllint -m unittest discover
- name: Coveralls

@ -14,9 +14,12 @@ Pull Request Process
.. code:: bash
pip install --user .
pip install ddt
python -m unittest discover # all tests...
python -m unittest tests/rules/test_commas.py # or just some tests (faster)
pip install coveralls ddt
# all tests...
python -m coverage run --source=yamllint -m unittest discover
coverage report
# or just some tests (faster)
python -m unittest tests/rules/test_commas.py
3. If you add code that should be tested, add tests.

Loading…
Cancel
Save