summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml24
-rw-r--r--internal/packet/packet_test.go1
2 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..d07cc77
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,24 @@
+name: ci
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ tests:
+ name: Tests
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: "1.23.2"
+
+ - name: Run tests
+ run: go test ./...
diff --git a/internal/packet/packet_test.go b/internal/packet/packet_test.go
index 874d0bb..70e088a 100644
--- a/internal/packet/packet_test.go
+++ b/internal/packet/packet_test.go
@@ -55,6 +55,7 @@ func testPacketEncodingDecoding(t *testing.T, payload Payload) {
}
func TestPacketFramer(t *testing.T) {
+ require.True(t, false, "Failing on purpose")
ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*20)
defer cancel()
framer := NewFramer()