Skip to content

Commit

Permalink
Merge pull request #2 from interline-io/test-ci
Browse files Browse the repository at this point in the history
Set up testing CI
  • Loading branch information
irees authored Jan 26, 2024
2 parents e943425 + dc460e1 commit 05bb90e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test Suite

on:
pull_request:
types:
- opened
push:
branches:
- '*'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21.5'
- run: go test -v -count=1 ./...
10 changes: 10 additions & 0 deletions log_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package log

import (
"fmt"
"testing"
)

func TestLog(t *testing.T) {
fmt.Println("ok")
}

0 comments on commit 05bb90e

Please sign in to comment.