Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ coverage.xml
.vscode
stuntidp*
.npm/
functest-results/
8 changes: 7 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ tasks:
- ./scripts/builder.sh black archivist examples functests unittests

type-check:
desc: Runs the pyright type checker against the core archivst files
desc: Runs the pyright type checker against the core archivst files
deps: [about]
cmds:
- ./scripts/builder.sh pyright archivist
Expand All @@ -78,6 +78,12 @@ tasks:
cmds:
- ./scripts/builder.sh ./scripts/functests.sh

pipeline-functests:
desc: Run functests with Junit xml output
deps: [about]
cmds:
- ./scripts/builder.sh ./scripts/pipeline_functests.sh

notebooks:
desc: Run jupyter notebooks
deps: [about]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ count_commits_from_version_file = false

[tool.pyright]
include = ["archivist"]
typeCheckingMode = "basic"

[tool.pylint.main]
# Analyse import fallback blocks. This can be used to support both Python 2 and 3
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pip-audit~=2.4
pycodestyle~=2.9
pylint~=2.14
pyright~=1.1.271
unittest-xml-reporting~=3.2.0

# uploading to pypi
build~=0.8
Expand Down
8 changes: 8 additions & 0 deletions scripts/pipeline_functests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
#
# run functests with xml reporting

rm -rf functest-results
mkdir -p functest-results
export PYTHONWARNINGS="ignore:Unverified HTTPS request"
python -m xmlrunner discover -v -p exec*.py -s functests -o ./functest-results/