File tree Expand file tree Collapse file tree 4 files changed +75
-2
lines changed
Expand file tree Collapse file tree 4 files changed +75
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Checks
2+
3+ on :
4+ push :
5+ branches : ["**"]
6+
7+ jobs :
8+ ci :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout code
13+ uses : actions/checkout@v4
14+
15+ - name : Set up Go
16+ uses : actions/setup-go@v5
17+ with :
18+ go-version : " 1.22"
19+
20+ - name : Install dependencies
21+ run : go mod tidy
22+
23+ - name : Build
24+ run : make build
25+
26+ - name : Test
27+ run : make test
28+
29+ - uses : actions/setup-node@v4
30+ with :
31+ node-version-file : " .nvmrc"
32+
33+ - name : Setup Featurevisor example-1 project
34+ run : |
35+ mkdir example-1
36+ (cd example-1 && npx @featurevisor/cli@2.x init --example=1)
37+ (cd example-1 && npm install)
38+ (cd example-1 && npx featurevisor test)
39+
40+ - name : Run Featurevisor project tests against Go SDK
41+ run : go run ./cli/main.go test --rootDirectoryPath=./example-1 --onlyFailures
Original file line number Diff line number Diff line change 1- specs
1+ # Binaries for programs and plugins
2+ * .exe
3+ * .exe~
4+ * .dll
5+ * .so
6+ * .dylib
7+
8+ # Test binary, coverage, and build output
9+ * .test
10+ * .out
11+
12+ # Output of the go coverage tool
13+ coverage. *
14+
15+ # Vendor directory (optional, if you commit vendor)
16+ vendor /
17+
18+ # Go workspace file
19+ go.work
20+ go.work.sum
21+
22+ # IDE/editor settings
23+ .idea /
24+ .vscode /
25+ * .swp
26+
27+ # OS-specific files
28+ .DS_Store
29+ Thumbs.db
30+
231build
32+
33+ example-1
Original file line number Diff line number Diff line change 1+ 20
Original file line number Diff line number Diff line change 1- build-executable :
1+ build :
22 mkdir -p build
33 go build -o build/featurevisor-go cli/main.go
44
You can’t perform that action at this time.
0 commit comments