Merge pull request #122 from ai-agent-assembly/v0.0.1/AAASM-2956/fix/… #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release-Python conversion tests | |
| # Run the tag → PEP 440 conversion test harness whenever its inputs | |
| # change: the script under test, the test itself, the release-python | |
| # workflow that sources the script, or this workflow file. This keeps | |
| # the matrix in ci.yaml unaffected while still gating the release | |
| # pipeline's conversion logic on a real CI run. | |
| # | |
| # Refs AAASM-2863. | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/scripts/tag-to-pep440.sh" | |
| - ".github/scripts/test_tag_to_pep440.sh" | |
| - ".github/scripts/pep440-to-tag.sh" | |
| - ".github/scripts/test_pep440_to_tag.sh" | |
| - ".github/workflows/release-python.yml" | |
| - ".github/workflows/release-python-conversion-test.yml" | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/scripts/tag-to-pep440.sh" | |
| - ".github/scripts/test_tag_to_pep440.sh" | |
| - ".github/scripts/pep440-to-tag.sh" | |
| - ".github/scripts/test_pep440_to_tag.sh" | |
| - ".github/workflows/release-python.yml" | |
| - ".github/workflows/release-python-conversion-test.yml" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-tag-to-pep440: | |
| name: Run tag → PEP 440 fixture suite | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Lint conversion + test scripts | |
| run: | | |
| shellcheck .github/scripts/tag-to-pep440.sh | |
| shellcheck -x .github/scripts/test_tag_to_pep440.sh | |
| shellcheck .github/scripts/pep440-to-tag.sh | |
| shellcheck -x .github/scripts/test_pep440_to_tag.sh | |
| - name: Run tag → PEP 440 fixture suite | |
| run: bash .github/scripts/test_tag_to_pep440.sh | |
| - name: Run PEP 440 → tag fixture suite | |
| run: bash .github/scripts/test_pep440_to_tag.sh |