Compare commits
No commits in common. "981d6f4e27f77bea9ec0f834c355d7cafa01dfe3" and "026624db35ee7fcaeb227ef6cd653acffeb1567a" have entirely different histories.
981d6f4e27
...
026624db35
@ -2,7 +2,7 @@ name: CI/CD Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
branches: [main]
|
||||
tags: ['v*']
|
||||
pull_request:
|
||||
|
||||
@ -27,7 +27,8 @@ jobs:
|
||||
run: poetry run ruff check .
|
||||
|
||||
- name: Run Tests with Coverage
|
||||
run: poetry run pytest --cov --cov-report=term-missing --cov-fail-under=80
|
||||
run: poetry run pytest --cov=my_project --cov-report=term-missing --cov-fail-under=80
|
||||
|
||||
publish-container:
|
||||
needs: test-and-lint
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
@ -22,7 +22,7 @@ build-backend = "poetry.core.masonry.api"
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py314"
|
||||
exclude = ["tests"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
# E/F: Errores base, I: Imports (isort), D: Docstrings
|
||||
select = ["E", "F", "I", "D"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user