Skip to content

Harden CI tox (3.13) against transient ghdl/setup-ghdl download failures - #76

Closed
kammoh with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-tox-job-failure
Closed

kammoh with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-tox-job-failure

Conversation

Copilot AI commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The tox (3.13) GitHub Actions job was failing before tox execution because ghdl/setup-ghdl@v1 intermittently returned HTTP 503 while fetching release inventory assets. This change makes the workflow resilient by preserving the existing setup path and adding a conditional Ubuntu package fallback.

  • Failure handling in GHDL setup

    • Added id: setup-ghdl and continue-on-error: true to the ghdl/setup-ghdl@v1 step.
    • Keeps the current preferred installer as first choice.
  • Conditional fallback path

    • Added a fallback step gated on steps.setup-ghdl.outcome == 'failure'.
    • Installs GHDL from apt (ghdl-llvm, fallback to ghdl) so downstream tox jobs can proceed when GitHub release endpoints are temporarily unavailable.
- id: setup-ghdl
  uses: ghdl/setup-ghdl@v1
  continue-on-error: true
  with:
    backend: llvm

- name: Fallback install GHDL from apt
  if: steps.setup-ghdl.outcome == 'failure'
  run: |
    sudo apt-get update
    sudo apt-get install -y ghdl-llvm || sudo apt-get install -y ghdl
    ghdl --version

Co-authored-by: kammoh <1421056+kammoh@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job tox (3.13) Harden CI tox (3.13) against transient ghdl/setup-ghdl download failures Aug 12, 2026
Copilot AI requested a review from kammoh August 12, 2026 17:18
@kammoh kammoh closed this Sep 17, 2026
@kammoh
kammoh deleted the copilot/fix-tox-job-failure branch September 17, 2026 02:13
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