Skip to content

Commit

Permalink
add github actions check
Browse files Browse the repository at this point in the history
  • Loading branch information
belambert committed Jul 8, 2024
1 parent 8fdb000 commit 8186afe
Show file tree
Hide file tree
Showing 3 changed files with 4,475 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: check

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

on: push

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v4"
- name: install poetry
run: pip install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'poetry'
- name: install
run: poetry install --with=dev
- name: check imports
run: poetry run isort --check .
- name: check formatting
run: poetry run black --check
- name: run linter
run: poetry run pylint .
Loading

0 comments on commit 8186afe

Please sign in to comment.