mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
commit
82f3751350
4 changed files with 609 additions and 549 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -40,6 +40,12 @@ jobs:
|
|||
run: |
|
||||
pytest
|
||||
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: code-coverage-report
|
||||
path: htmlcov
|
||||
|
||||
- name: Publish to Docker Registry
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
uses: docker/build-push-action@v1
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -12,4 +12,6 @@ static/upload
|
|||
adhoc_*
|
||||
adhoc.py
|
||||
venv/
|
||||
.venv
|
||||
.venv
|
||||
.coverage
|
||||
htmlcov
|
||||
|
|
1139
poetry.lock
generated
1139
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"
|
||||
black = "^20.8b1"
|
||||
pre-commit = "^2.7.1"
|
||||
pytest-cov = "^2.10.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
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 a new issue