Skip to content

Commit 71731b9

Browse files
author
dmy.berezovskyi
committed
added ruff for actions
1 parent 2bb2f4c commit 71731b9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/run_tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Checkout repository
2020
uses: actions/checkout@v3
2121

22-
- name: setup Python
22+
- name: Setup Python
2323
uses: actions/setup-python@v3
2424
with:
2525
python-version: "3.10"
@@ -38,7 +38,11 @@ jobs:
3838
python -m pip install --upgrade pip
3939
pip install -r requirements.txt
4040
pip install --upgrade pytest pytest-html
41+
pip install ruff
4142
43+
- name: Run Linting
44+
run: |
45+
ruff check .
4246
4347
- name: Run tests
4448
run: |
@@ -50,4 +54,4 @@ jobs:
5054
with:
5155
report_paths: '**/test-results.xml'
5256
detailed_summary: true
53-
include_passed: true
57+
include_passed: true

0 commit comments

Comments
 (0)