File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Add to organisation project
33on :
44 issues :
55 types : [opened, reopened]
6- pull_request :
7- types : [opened, reopened]
86
97jobs :
108 add-to-project :
Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : [ "main", "dev" ]
66 pull_request :
7- branches : [ "main" ]
7+ branches : [ "main", "dev" ]
88
99jobs :
1010
@@ -17,13 +17,19 @@ jobs:
1717 - name : Set up Go
1818 uses : actions/setup-go@v4
1919 with :
20- go-version : ' 1.24 '
20+ go-version-file : ' go.mod '
2121
2222 - name : Build
2323 run : go build -v ./...
2424
2525 - name : Test
26- run : go test -v ./...
26+ run : go test -v -coverprofile=coverage.out -covermode=atomic ./...
27+
28+ - name : Upload coverage to Codecov
29+ uses : codecov/codecov-action@v5
30+ with :
31+ files : coverage.out
32+ fail_ci_if_error : false
2733
2834 integration :
2935 name : Integration Tests
3440 - name : Set up Go
3541 uses : actions/setup-go@v4
3642 with :
37- go-version : ' 1.24 '
43+ go-version-file : ' go.mod '
3844
3945 - name : Install psql client
4046 run : sudo apt-get install -y postgresql-client
Original file line number Diff line number Diff line change 22
33[ ![ go] ( https://github.com/thd-spatial-ai/city2tabula/actions/workflows/go.yml/badge.svg )] ( https://github.com/thd-spatial-ai/city2tabula/actions/workflows/go.yml )
44  ;
5+ [ ![ codecov] ( https://codecov.io/gh/thd-spatial-ai/city2tabula/branch/main/graph/badge.svg )] ( https://codecov.io/gh/thd-spatial-ai/city2tabula )
6+   ;
57[ ![ MkDocs] ( https://github.com/thd-spatial-ai/city2tabula/actions/workflows/docs.yml/badge.svg )] ( https://thd-spatial-ai.github.io/city2tabula )
68  ;
79[ ![ GitHub release] ( https://img.shields.io/github/v/release/thd-spatial-ai/City2TABULA.svg )] ( https://github.com/thd-spatial-ai/city2tabula/releases )
You can’t perform that action at this time.
0 commit comments