feat(components,pipelines): adding AutoML components #535
Workflow file for this run
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: Scripts Unit Tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'release-*' | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'release-*' | |
| paths: | |
| - '.github/scripts/**' | |
| - 'scripts/**' | |
| - '.github/workflows/scripts-tests.yml' | |
| - '.github/actions/setup-python-ci/**' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| jobs: | |
| test-scripts: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.13"] | |
| scripts-dir: | |
| - .github/scripts | |
| - scripts | |
| name: Test ${{ matrix.scripts-dir }} (Python ${{ matrix.python-version }}) | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Python CI | |
| uses: ./.github/actions/setup-python-ci | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run tests (${{ matrix.scripts-dir }}) | |
| working-directory: ${{ matrix.scripts-dir }} | |
| shell: bash | |
| run: | | |
| if compgen -G "*/tests" > /dev/null; then | |
| uv run pytest */tests/ -v --tb=short | |
| else | |
| echo "No */tests directories found under '${{ matrix.scripts-dir }}'; skipping." | |
| fi |