Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ademariag committed Sep 1, 2024
1 parent e87e788 commit e60cb99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://github.com/python-poetry/poetry
rev: '1.8.0'
hooks:
- id: poetry-check
- id: poetry-lock
entry: env PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring poetry lock
- id: poetry-install
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: clean package
.PHONY: pre-requisites
pre-requisites:
@echo ----- Installing pre-requisites -----
poetry install
poetry install --with dev --with docs --with test

.PHONY: lint
lint:
Expand All @@ -15,7 +15,7 @@ lint:
.PHONY: install poetry with pipx
install_poetry:
@echo ----- Installing poetry with pipx -----
pipx install poetry
which poetry || pipx install poetry

.PHONY: test
test: pre-requisites lint test_python test_docker test_coverage test_formatting
Expand Down

0 comments on commit e60cb99

Please sign in to comment.