Skip to content

Commit 0bd648b

Browse files
authored
Update pytest.yml
1 parent 750767c commit 0bd648b

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/pytest.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
4-
name: Python application
1+
name: Run tests
52

63
on:
74
push:
@@ -40,20 +37,9 @@ jobs:
4037
with:
4138
python-version: "3.10"
4239
- uses: Gr1N/setup-poetry@v7
43-
# - name: Install dependencies
44-
# run: |
45-
# python -m pip install --upgrade pip
46-
# pip install flake8 pytest
47-
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4840
- name: Install dependencies
4941
run: poetry install
50-
- name: Lint with flake8
51-
run: |
52-
# stop the build if there are Python syntax errors or undefined names
53-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
54-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
55-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
56-
- name: Test with pytest
42+
- name: Run all tests
5743
run: |
5844
pytest src
5945
env:

0 commit comments

Comments
 (0)