Skip to content

Commit

Permalink
Merge pull request #50 from akakou/chore/ci
Browse files Browse the repository at this point in the history
chore: testing ci
  • Loading branch information
akakou authored May 6, 2024
2 parents 23b1714 + 06f5ef3 commit 3a2ec85
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.5'

- name: Test
run: sh .github/workflows/test.sh
5 changes: 5 additions & 0 deletions .github/workflows/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cd test && go test .
cd ..
cd ttp/api && go test .
cd ../../
cd ttp/ct && go test .
2 changes: 1 addition & 1 deletion ttp/api/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ func TestTAFromDomainAPI(t *testing.T) {

assert.Equal(t, violation.ID, respTa[0].Edges.Violation[0].ID)

t.Errorf("%v", string(bytes))
// t.Errorf("%v", string(bytes))

}

0 comments on commit 3a2ec85

Please sign in to comment.