Testing if CI runs tests

This commit is contained in:
2025-01-07 16:41:17 +02:00
parent c0f55da0c4
commit cd34911ce6
2 changed files with 25 additions and 0 deletions

24
.github/workflows/ci.yml vendored Normal file
View File

@@ -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 ./...

View File

@@ -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()