Skip to content

Commit

Permalink
remove python folder
Browse files Browse the repository at this point in the history
  • Loading branch information
swetha1654 committed Dec 10, 2024
1 parent 5d1b21c commit d8b4254
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 228 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/allure_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
pattern: allure-results*
merge-multiple: true
- name: Install CLI
run: pipx install git+https://github.com/canonical/operator-workflows@ISD-2620-allure#subdirectory=python/cli
run: pipx install git+https://github.com/canonical/data-platform-workflows@v24.0.0#subdirectory=python/cli
- name: Combine Allure default results & actual results
# For every test: if actual result available, use that. Otherwise, use default result
# So that, if actual result not available, Allure report will show "unknown"/"failed" test result
Expand Down Expand Up @@ -93,4 +93,4 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "Allure report ${{ github.run_number }}"
# Uses token set in checkout step
git push origin gh-pages
git push origin gh-pages
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
echo "ALLURE_ARTIFACT_SUFFIX=$allure_artifact_suffix" >> $GITHUB_ENV
- name: Install tox
run: |
pipx install tox
pip install tox
- name: Collect tests for Allure
working-directory: ${{ inputs.working-directory }}
run: |
Expand Down
3 changes: 0 additions & 3 deletions python/cli/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions python/cli/allure_add_default_for_missing_results/__init__.py

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions python/cli/pyproject.toml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions tests/workflows/integration/test-upload-charm/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ deps =
macaroonbakery==1.3.2
websockets<14.0 # https://github.com/juju/python-libjuju/issues/1184
-r{toxinidir}/requirements.txt
git+https://github.com/canonical/operator-workflows@ISD-2620-allure\#subdirectory=python/pytest_plugins/allure_pytest_collection_report
git+https://github.com/canonical/data-platform-workflows@v24.0.0\#subdirectory=python/pytest_plugins/allure_pytest_collection_report
commands =
pytest -v --tb native --ignore={[vars]tst_path}unit --log-cli-level=INFO -s {posargs}

Expand All @@ -127,6 +127,6 @@ deps =
macaroonbakery==1.3.2
websockets<14.0 # https://github.com/juju/python-libjuju/issues/1184
-r{toxinidir}/requirements.txt
git+https://github.com/canonical/operator-workflows@ISD-2620-allure\#subdirectory=python/pytest_plugins/allure_pytest_collection_report
git+https://github.com/canonical/data-platform-workflows@v24.0.0\#subdirectory=python/pytest_plugins/allure_pytest_collection_report
commands =
pytest -v --tb native --ignore={[vars]tst_path}unit --log-cli-level=INFO -s {posargs}

0 comments on commit d8b4254

Please sign in to comment.