Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Prrromanssss committed Apr 21, 2024
1 parent e042367 commit 28c8b4f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,12 @@ jobs:
version: v1.54
working-directory: backend
- name: Run tests
run: cd backend && go test ./...
run: cd backend && go test ./...
- name: Check test results
run: |
if grep -q "ok" <<< "$(go test ./...)"; then
echo "All tests passed"
else
echo "Some tests failed"
exit 1
fi

0 comments on commit 28c8b4f

Please sign in to comment.