Skip to content

Commit

Permalink
add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 9, 2024
1 parent 2de07e3 commit 2c0d42b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Poetry
run: pipx install poetry

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "poetry"

- name: Install Python dependencies
run: poetry install

- name: Test
run: poetry run pytest

- name: Lint
run: poetry run ruff check

- name: Format
run: poetry run ruff format --check

0 comments on commit 2c0d42b

Please sign in to comment.