Skip to content

Commit

Permalink
Restructure workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Pevtrick committed Nov 13, 2023
1 parent 3aca66f commit 8ef7bbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Ruff
if: ${{ matrix.python-version != '3.6' }}
run: |
pip install ruff
# stop the build if there are Python syntax errors or undefined names
ruff --output-format=github --select=E9,F63,F7,F82 .
# default set of ruff rules with GitHub Annotations
ruff --output-format=github .
- name: Test with pytest
run: |
pip install pytest
python -m pytest

0 comments on commit 8ef7bbe

Please sign in to comment.