Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sharanry committed Oct 27, 2024
1 parent c0ed6e8 commit 74d15c3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "ci"
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: check formatting
run: poetry run ruff format --check
- name: check linting
run: poetry run ruff check
- name: check types
run: poetry run pyright
- name: run tests
run: poetry run pytest
- name: build
run: poetry build

0 comments on commit 74d15c3

Please sign in to comment.