Commit 918ab8f
test: build binary automatically via TestMain
Removes the need to run 'go build' before 'go test' by building the
binary in TestMain and cleaning it up after tests complete.
This makes the test suite self-contained and simplifies both the
README instructions and the GitHub Actions workflow.
Also ensures Procfile.dev is cleaned up after integration tests and
added to .gitignore as a fallback.
#1
Co-authored-by: Warp <agent@warp.dev>1 parent 3d0d2bb commit 918ab8f
File tree
4 files changed
+13
-5
lines changed- .github/workflows
4 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
12 | 24 | | |
13 | 25 | | |
14 | 26 | | |
| |||
134 | 146 | | |
135 | 147 | | |
136 | 148 | | |
137 | | - | |
138 | 149 | | |
139 | 150 | | |
140 | 151 | | |
| |||
0 commit comments