Skip to content

Commit 02e76a5

Browse files
committed
yaml formatting
1 parent 4252a2c commit 02e76a5

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

.github/workflows/pythonapp.yml

+23-24
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
@@ -13,26 +12,26 @@ jobs:
1312
python-version: ["3.10", "3.11", "3.12"]
1413

1514
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

Comments
 (0)