Skip to content

Commit

Permalink
Add Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuba314 committed Nov 15, 2023
1 parent bbb04aa commit 8e4937c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Install poetry project
run: poetry install
- name: Run pyright
run: poetry run pyright
- name: Run pytest
run: poetry run pytest

0 comments on commit 8e4937c

Please sign in to comment.