diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml index 02ca014..18f2798 100644 --- a/.github/workflows/cml.yaml +++ b/.github/workflows/cml.yaml @@ -4,20 +4,22 @@ jobs: train-and-report: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v4 + - name: "Set up Python" + uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version-file: "pyproject.toml" - uses: iterative/setup-cml@v2 - name: Run pipeline env: REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - pip install . - python dummy-evaluation.py + uv sync + uv run dummy-evaluation.py # Create CML report cat metrics.txt >> report.md echo '![](./metrics.png "Violin Plot of Metrics")' >> report.md cml comment create report.md - \ No newline at end of file