Skip to content

Commit

Permalink
feat: workflow for code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
danfimov committed Sep 17, 2023
1 parent b8f0d65 commit a920400
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Checks
on: [pull_request]

jobs:
lint:
runs-on: ubuntu-latest
name: Lint code
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install --upgrade pip
- run: make install
- run: make lint
test:
runs-on: ubuntu-latest
name: Run tests
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- run: pip install --upgrade pip
- run: make install
- run: make test-cov

0 comments on commit a920400

Please sign in to comment.