We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec1970 commit e932758Copy full SHA for e932758
.github/workflows/build.yml
@@ -50,7 +50,12 @@ jobs:
50
51
- name: Test
52
run: |
53
- make test
+ make test-ci
54
+ - uses: actions/upload-artifact@v4
55
+ if: ${{ !cancelled() }}
56
+ with:
57
+ name: test-results
58
+ path: testresults.json
59
60
- name: Build
61
.gitignore
@@ -5,4 +5,5 @@ fail2ban-dashboard
5
generate*
6
cached*
7
.lint_result
8
-__debug*
+__debug*
9
+testresults.json
Makefile
@@ -23,6 +23,10 @@ test:
23
@echo "Running tests"
24
go test ./...
25
26
+test-ci:
27
+ @echo "Running tests for CI/CD"
28
+ go test ./... -json > testresults.json
29
+
30
# Clean build artifacts
31
clean:
32
@echo "Cleaning build artifacts"
0 commit comments