We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 376a0ab commit 83cf600Copy full SHA for 83cf600
.github/workflows/pytest_test.yml
@@ -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
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