Skip to content

Commit 5c9a7f7

Browse files
Better way.
1 parent f998062 commit 5c9a7f7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
- uses: actions/checkout@v4
22+
- uses: chartboost/ruff-action@v1 #Check with ruff
2223
- name: Install dependencies
2324
run: |
2425
python -m pip install --upgrade pip
25-
python -m pip install flake8 pytest
2626
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27-
- name: Lint with flake8
28-
run: |
29-
ruff check . --exit-zero
30-
- name: Test with pytest
27+
if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi
28+
29+
- name: Run tests
3130
run: |
32-
pytest
31+
make quick_test
32+
make test
33+
34+
35+

0 commit comments

Comments
 (0)