Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: expand CI workflow #15

Merged
merged 13 commits into from
Jul 24, 2024
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.