@@ -4,7 +4,6 @@ on: [push]
4
4
5
5
jobs :
6
6
build :
7
-
8
7
runs-on : ubuntu-latest
9
8
strategy :
10
9
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
@@ -13,26 +12,26 @@ jobs:
13
12
python-version : ["3.10", "3.11", "3.12"]
14
13
15
14
steps :
16
- - uses : actions/checkout@v2
17
- - name : Set up Python ${{ matrix.python-version }}
18
- uses : actions/setup-python@v1
19
- with :
20
- python-version : ${{ matrix.python-version }}
21
- - name : Install dependencies
22
- run : |
23
- python -m pip install --upgrade pip
24
- pip install -r requirements/test.txt
25
- - name : Display Python version
26
- run : python -c "import sys; print(sys.version)"
27
- # - name: Lint with flake8
28
- # run: |
29
- # pip install flake8
30
- # # stop the build if there are Python syntax errors or undefined names
31
- # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
32
- # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
33
- # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
34
- - name : Test with pytest
35
- run : |
36
- pip install pytest
37
- pip install pytest-cov
38
- pytest brotab -s -vvv --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html --ignore brotab/albert --ignore brotab/tests/integration
15
+ - uses : actions/checkout@v2
16
+ - name : Set up Python ${{ matrix.python-version }}
17
+ uses : actions/setup-python@v1
18
+ with :
19
+ python-version : ${{ matrix.python-version }}
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install -r requirements/test.txt
24
+ - name : Display Python version
25
+ run : python -c "import sys; print(sys.version)"
26
+ # - name: Lint with flake8
27
+ # run: |
28
+ # pip install flake8
29
+ # # stop the build if there are Python syntax errors or undefined names
30
+ # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
31
+ # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
32
+ # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
33
+ - name : Test with pytest
34
+ run : |
35
+ pip install pytest
36
+ pip install pytest-cov
37
+ pytest brotab -s -vvv --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html --ignore brotab/albert --ignore brotab/tests/integration
0 commit comments