diff --git a/.claude/commands/fix-github-issue.md b/.claude/commands/fix-github-issue.md new file mode 100644 index 00000000..4334bf62 --- /dev/null +++ b/.claude/commands/fix-github-issue.md @@ -0,0 +1,14 @@ +Please analyze and fix the GitHub issue: $ARGUMENTS. + +Follow these steps: + +1. Use `gh issue view` to get the issue details +2. Understand the problem described in the issue +3. Search the codebase for relevant files +4. Implement the necessary changes to fix the issue +5. Write and run tests to verify the fix +6. Ensure code passes linting and type checking +7. Create a descriptive commit message +8. Push and create a PR + +Remember to use the GitHub CLI (`gh`) for all GitHub-related tasks. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f757cff..3bf72fda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,7 +124,7 @@ jobs: strategy: matrix: compiler: [gcc, clang] - std: [c89, c99, c11] + std: [c99, c11] steps: - uses: actions/checkout@v4 @@ -137,7 +137,7 @@ jobs: - name: Test C standard compliance run: | export CC=${{ matrix.compiler }} - export CFLAGS="-std=${{ matrix.std }} -Wall -Wextra -Werror -pedantic" + export CFLAGS="-std=${{ matrix.std }} -Wall -Wextra -Werror" make clean || true make make test diff --git a/.github/workflows/quick-test.yml b/.github/workflows/quick-test.yml index 6f54f89c..16e77d51 100644 --- a/.github/workflows/quick-test.yml +++ b/.github/workflows/quick-test.yml @@ -27,8 +27,9 @@ jobs: cmake -B build cmake --build build - - name: Verify basic functionality + - name: Build tests and verify basic functionality run: | cd tests + make test_null_help test_callbacks ./test_null_help --help - ./test_callbacks --help \ No newline at end of file + ./test_callbacks --help