Skip to content

Commit

Permalink
ci: expand CI workflow (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Kanitz <[email protected]>
  • Loading branch information
athith-g and uniqueg authored Jul 24, 2024
1 parent 8194953 commit 164f8ad
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 11 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install requirements
run: pip install -r requirements_dev.txt
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Lint with pylint
run: pylint tests/tasks/*
run: poetry run pylint tests/tasks/* crypt4gh_middleware/*
- name: Lint with ruff
run: ruff check tests/tasks/*
run: poetry run ruff check tests/tasks/* crypt4gh_middleware/*
- name: Type checking with mypy
run: poetry run mypy crypt4gh_middleware
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,6 @@ poetry.toml
# LSP config files
pyrightconfig.json

# End of https://www.toptal.com/developers/gitignore/api/python
# End of https://www.toptal.com/developers/gitignore/api/python

outputs/
60 changes: 59 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ requests = "*"
[tool.poetry.group.lint.dependencies]
ruff = "*"
pylint = "*"
mypy = "*"

[tool.pylint."MESSAGES CONTROL"]
disable = ["logging-fstring-interpolation"]
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

4 changes: 0 additions & 4 deletions requirements_dev.txt

This file was deleted.

0 comments on commit 164f8ad

Please sign in to comment.