Skip to content

Commit f6d8da3

Browse files
add claude autofix pipeline
1 parent c0db072 commit f6d8da3

2 files changed

Lines changed: 176 additions & 320 deletions

File tree

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,35 @@ jobs:
3939
--cov=. .
4040
- if: ${{ success() }}
4141
run: scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
42+
43+
claude-autofix:
44+
needs: build
45+
if: failure()
46+
uses: evan-m-jackson/claude-pipelines/.github/workflows/claude-autofix-on-failure.yml@main
47+
with:
48+
setup_command: >-
49+
sudo apt-get update -qq &&
50+
sudo apt-get install -y libhdf5-dev &&
51+
curl -LsSf https://astral.sh/uv/install.sh | sh &&
52+
echo "$HOME/.local/bin" >> "$GITHUB_PATH" &&
53+
"$HOME/.local/bin/uv" sync --group=test
54+
test_command: >-
55+
uv run --with=pytest-run-parallel pytest
56+
--iterations=8 --parallel-threads=auto
57+
--ignore=computer_vision/cnn_classification.py
58+
--ignore=docs/conf.py
59+
--ignore=dynamic_programming/k_means_clustering_tensorflow.py
60+
--ignore=machine_learning/local_weighted_learning/local_weighted_learning.py
61+
--ignore=machine_learning/lstm/lstm_prediction.py
62+
--ignore=neural_network/input_data.py
63+
--ignore=project_euler/
64+
--ignore=quantum/q_fourier_transform.py
65+
--ignore=scripts/validate_solutions.py
66+
--ignore=web_programming/current_stock_price.py
67+
--ignore=web_programming/fetch_anime_and_play.py
68+
--cov-report=term-missing:skip-covered
69+
--cov=. .
70+
model: claude-sonnet-4-6
71+
min_confidence: medium
72+
secrets:
73+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)