fix: problem type for metric prediction #1468
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
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: Python application | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.11" | |
| # - name: Install common gcc dependencies | |
| # run: | | |
| # sudo apt update | |
| # sudo apt install libcppunit-dev cmake -y | |
| # cmake --version | |
| # | |
| # - name: Print gcc version | |
| # run: | | |
| # gcc --version | |
| # Install uv directly from Astral’s installer | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| uv --version | |
| - name: Install dependencies with uv | |
| run: | | |
| # Upgrade build backends first | |
| uv pip install --system --upgrade setuptools wheel | |
| # Allow prerelease versions of AutoGluon | |
| # Install your package in editable/develop mode | |
| uv pip install --system --prerelease=allow -e ./tabarena | |
| # Optional tools | |
| uv pip install --system flake8 pytest | |
| - name: Test with pytest | |
| run: | | |
| pytest |