Skip to content

Commit

Permalink
ci: Add github actions
Browse files Browse the repository at this point in the history
WIP

Signed-off-by: Martin Kalcok <martin.kalcok@gmail.com>
  • Loading branch information
mkalcok committed Dec 25, 2024
1 parent ed89805 commit d167c54
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python tests

on:
pull_request:
push:
branches: [main]

jobs:
lint:
name: lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==1.8
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: poetry

- name: Install dependencies
run: |
poetry install
- name: Run linters
run: poetry run tox -e lint

0 comments on commit d167c54

Please sign in to comment.