Skip to content

Fix CI: replace Autotools template with Python/uv workflow steps - #1

Merged
r2rahul merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job
Jul 8, 2026
Merged

Fix CI: replace Autotools template with Python/uv workflow steps#1
r2rahul merged 2 commits into
mainfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Jul 8, 2026

Copy link
Copy Markdown

The Makefile CI workflow was generated from GitHub's C/C++ Autotools template, causing an immediate failure because ./configure, make check, and make distcheck don't exist in this Python/uv project.

Changes

  • .github/workflows/makefile.yml: Replace Autotools commands with the correct steps for this project:
    • Add actions/setup-python@v5 (reads Python version from .python-version)
    • Add astral-sh/setup-uv@v6 to install the uv package manager
    • make installuv sync
    • make builduv build
    • make testuv run pytest -q
# Before (broken)
- name: configure
  run: ./configure        # No such file — not an Autotools project
- run: make check
- run: make distcheck

# After
- uses: actions/setup-python@v5
  with:
    python-version-file: .python-version
- uses: astral-sh/setup-uv@v6
- run: make install
- run: make build
- run: make test

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix CI: replace Autotools template with Python/uv workflow steps Jul 8, 2026
Copilot AI requested a review from r2rahul July 8, 2026 18:25
@r2rahul
r2rahul marked this pull request as ready for review July 8, 2026 18:26
@r2rahul
r2rahul merged commit 17b9f8d into main Jul 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants