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
18 changes: 16 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,19 @@ jobs:
API_ENDPOINT: "api.dev.firebolt.io"
ACCOUNT_NAME: "firebolt"
run: |
pytest -n 6 --dist loadgroup --timeout_method "signal" -o log_cli=true -o log_cli_level=INFO tests/integration

pytest -n 6 --dist loadgroup --timeout_method "signal" -o log_cli=true -o log_cli_level=INFO tests/integration --alluredir=allure-results

- name: Get Allure history
uses: actions/checkout@v2
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Allure Report
uses: firebolt-db/action-allure-report@v1
if: always()
with:
github-key: ${{ secrets.GITHUB_TOKEN }}
test-type: integration
16 changes: 15 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,22 @@ jobs:

- name: Run unit tests
run: |
pytest --cov=src/ tests/unit --cov-report=xml
pytest --cov=src/ tests/unit --cov-report=xml --alluredir=allure-results

- name: Get Allure history
uses: actions/checkout@v2
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Allure Report
uses: firebolt-db/action-allure-report@v1
if: always()
with:
github-key: ${{ secrets.GITHUB_TOKEN }}

- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ where = src
ciso8601 =
ciso8601==2.2.0
dev =
allure-pytest==2.*
devtools==0.7.0
mypy==0.910
pre-commit==2.15.0
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def global_fake_fs(request) -> None:
if "nofakefs" in request.keywords:
yield
else:
with Patcher():
with Patcher(additional_skip_names=["logger", "allure-pytest"]):
yield


Expand Down