fix(tools): add support for composite combobox elements (#82) #326
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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| env: | |
| POETRY_VERSION: "1.8.3" | |
| POETRY_URL: https://install.python-poetry.org | |
| jobs: | |
| linter_tester: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [3.11] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| LLM_MODEL_NAME: ${{ secrets.LLM_MODEL_NAME }} | |
| LLM_MODEL_API_KEY: ${{ secrets.LLM_MODEL_API_KEY }} | |
| GEO_API_KEY: ${{ secrets.GEO_API_KEY }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| id: setup_python | |
| # Poetry cache depends on OS, Python version and Poetry version. | |
| - name: Cache Poetry cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pypoetry | |
| key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }} | |
| # virtualenv cache should depends on OS, Python version and `poetry.lock` (and optionally workflow files). | |
| - name: Cache Packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.local | |
| key: poetry-local-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/*.yml') }} | |
| - name: Install Poetry ${{ env.POETRY_VERSION }} | |
| run: | | |
| curl -sSL ${{ env.POETRY_URL }} | python - --version ${{ env.POETRY_VERSION }} | |
| echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| - name: Install project | |
| run: make install-extra | |
| - name: Run linter | |
| run: make lint | |
| # - name: Run tests | |
| # run: make test | |
| # - name: Upload coverage to Codecov | |
| # uses: codecov/codecov-action@v3 | |
| # with: | |
| # fail_ci_if_error: true | |
| # token: ${{ secrets.CODECOV_TOKEN }} |