forked from RedHatInsights/dvo-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 895 Bytes
/
pr_approval.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Pytest
on:
- push
- pull_request
jobs:
pytest:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade setuptools
- run: pip install --upgrade wheel
- run: pip install pycodestyle
- run: pip install pydocstyle
- run: pip install pytest-cov
- run: pip install -r testing-requirements.txt
- run: pip install --upgrade importlib-metadata
- name: Style checks
run: make style
- name: Docstrings checks
run: make docs-style
- name: Unit tests
run: make unit_tests
- name: Unit tests coverage
run: make coverage