mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
commit
82f3751350
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -40,6 +40,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
||||||
|
|
||||||
|
- name: Archive code coverage results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: code-coverage-report
|
||||||
|
path: htmlcov
|
||||||
|
|
||||||
- name: Publish to Docker Registry
|
- name: Publish to Docker Registry
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
uses: docker/build-push-action@v1
|
uses: docker/build-push-action@v1
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,3 +13,5 @@ adhoc_*
|
|||||||
adhoc.py
|
adhoc.py
|
||||||
venv/
|
venv/
|
||||||
.venv
|
.venv
|
||||||
|
.coverage
|
||||||
|
htmlcov
|
||||||
|
1153
poetry.lock
generated
1153
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -80,7 +80,16 @@ py3-validate-email = "^0.2.10"
|
|||||||
pytest = "^6.1.0"
|
pytest = "^6.1.0"
|
||||||
black = "^20.8b1"
|
black = "^20.8b1"
|
||||||
pre-commit = "^2.7.1"
|
pre-commit = "^2.7.1"
|
||||||
|
pytest-cov = "^2.10.1"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
addopts = """
|
||||||
|
--cov=.
|
||||||
|
--cov-report=term:skip-covered
|
||||||
|
--cov-report=html:htmlcov
|
||||||
|
--cov-fail-under=60
|
||||||
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user