mirror of
https://github.com/cexll/myclaude.git
synced 2026-02-05 02:30:26 +08:00
fix: use bash shell for CI test steps on all platforms
Force bash shell for test and coverage steps to avoid PowerShell parameter parsing issues on Windows (`.out` being treated as separate arg). Generated with SWE-Agent.ai Co-Authored-By: SWE-Agent.ai <noreply@swe-agent.ai>
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -24,11 +24,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd codeagent-wrapper
|
cd codeagent-wrapper
|
||||||
go test -v -cover -coverprofile=coverage.out ./...
|
go test -v -cover -coverprofile=coverage.out ./...
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Check coverage
|
- name: Check coverage
|
||||||
run: |
|
run: |
|
||||||
cd codeagent-wrapper
|
cd codeagent-wrapper
|
||||||
go tool cover -func=coverage.out | grep total | awk '{print $3}'
|
go tool cover -func=coverage.out | grep total | awk '{print $3}'
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user