Skip to content

Commit bf32f41

Browse files
committed
[bfops/remove-python-smoketests]: Remove Python smoketests
1 parent c43439d commit bf32f41

43 files changed

Lines changed: 0 additions & 6765 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,36 +1024,6 @@ jobs:
10241024
- name: Check global.json policy
10251025
run: cargo ci global-json-policy
10261026

1027-
warn-python-smoketests:
1028-
name: Check for Python smoketest edits
1029-
runs-on: ubuntu-latest
1030-
if: github.event_name == 'pull_request'
1031-
permissions:
1032-
contents: read
1033-
steps:
1034-
- name: Checkout sources
1035-
uses: actions/checkout@v4
1036-
with:
1037-
fetch-depth: 0
1038-
1039-
- name: Fail if Python smoketests were modified
1040-
run: |
1041-
MERGE_BASE="$(git merge-base origin/${{ github.base_ref }} HEAD)"
1042-
PYTHON_SMOKETEST_CHANGES="$(git diff --name-only "$MERGE_BASE" HEAD -- 'smoketests/**.py')"
1043-
1044-
if [ -n "$PYTHON_SMOKETEST_CHANGES" ]; then
1045-
echo "::error::This PR modifies legacy Python smoketests. Please add new tests to the Rust smoketests in crates/smoketests/ instead."
1046-
echo ""
1047-
echo "Changed files:"
1048-
echo "$PYTHON_SMOKETEST_CHANGES"
1049-
echo ""
1050-
echo "The Python smoketests are being replaced by Rust smoketests."
1051-
echo "See crates/smoketests/DEVELOP.md for instructions on adding Rust smoketests."
1052-
exit 1
1053-
fi
1054-
1055-
echo "No Python smoketest changes detected."
1056-
10571027
smoketests_mod_rs_complete:
10581028
name: Check smoketests/mod.rs is complete
10591029
runs-on: ubuntu-latest

smoketests/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)