Skip to content

Commit

Permalink
Merge pull request #7 from City-of-Helsinki/bugfix/workflows
Browse files Browse the repository at this point in the history
Remove py 3.9, add ruff line length 120
  • Loading branch information
aapris authored Sep 27, 2023
2 parents dea6909 + 5fae9ff commit c610be3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
services:
# Label used to access the service container
kafka:
Expand Down Expand Up @@ -78,9 +78,9 @@ jobs:
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
ruff --format=github --line-length 120 --select=E9,F63,F7,F82 --target-version=py311 .
# default set of ruff rules with GitHub Annotations
ruff --format=github --target-version=py37 .
ruff --format=github --line-length 120 --target-version=py311 .
- name: Test with pytest
env:
PYTEST_ADDOPTS: "--color=yes"
Expand Down

0 comments on commit c610be3

Please sign in to comment.