Skip to content

Commit

Permalink
updated build & test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfmnk committed Aug 8, 2024
1 parent 0fb5f07 commit 16825bd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: Go build

on: push
on:
pull_request:
branches:
- main
paths-ignore:
- "README.md"
push:
branches:
- main
paths-ignore:
- "README.md"
# We test at a regular interval to ensure we are alerted to something breaking due
# to an API change, even if the code did not change.
schedule:
- cron: "0 0 * * *"

jobs:
build:
Expand All @@ -25,3 +39,6 @@ jobs:

- name: Test
run: make test

- name: E2E Test
run: make e2e
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ deps:

.PHONY: test
test:
@go test -cover -race -v ./...
@go test -cover -race -v ./...

e2e:
@go test -v ./e2e/...

0 comments on commit 16825bd

Please sign in to comment.