Skip to content

Commit 83cf600

Browse files
pytest_test.yml (#424)
Signed-off-by: Fabiana Campanari <fabicampanari@gmail.com>
1 parent 376a0ab commit 83cf600

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pytest_test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# The tests runs and will return in JUnit format while the code coverage results are emitted in Coverage.
2+
3+
steps:
4+
- uses: actions/checkout@v4
5+
- name: Set up Python
6+
uses: actions/setup-python@v5
7+
with:
8+
python-version: '3.x'
9+
- name: Install dependencies
10+
run: |
11+
python -m pip install --upgrade pip
12+
pip install -r requirements.txt
13+
- name: Test with pytest
14+
run: |
15+
pip install pytest pytest-cov
16+
pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 commit comments

Comments
 (0)