Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
didhat committed Oct 14, 2023
1 parent c8b7a02 commit 6a88acf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Checks

on: [push]

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Display version
run: |
python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
pip install poetry
poetry config virtualenvs.create false
poetry install --with dev
- name: Ruff check
run: |
ruff .
- name: Black check
run: |
black --check .
# - name: Tests
# run: |
# pytest
- name: Mypy check
run: |
mypy src/

0 comments on commit 6a88acf

Please sign in to comment.