We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a41d0 commit de3db15Copy full SHA for de3db15
.github/workflows/test.yml
@@ -0,0 +1,31 @@
1
+name: Test
2
+
3
+on:
4
+ - pull_request
5
+ - push
6
7
+jobs:
8
+ test:
9
+ runs-on: ${{ matrix.os }}
10
+ strategy:
11
+ matrix:
12
+ os: [ubuntu-latest]
13
+ python-version: ['3.10']
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: ${{ matrix.python-version }}
22
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install -r requirements.txt
27
28
+ - name: Test with pytest
29
30
+ export PYTHONPATH=./:$PYTHONPATH
31
+ pytest tests/ --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
0 commit comments