Skip to content

Commit b3b9aa3

Browse files
committed
call rspec in github action
1 parent 466045b commit b3b9aa3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/test-cli.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/setup-go@v2
1818
with:
1919
go-version: '1.24.4'
20-
- name: Generate CLI and run tests
20+
- name: Generate CLI and run unit tests
2121
env:
2222
GOPRIVATE: github.com/phrase/phrase-go
2323
run: |
@@ -28,6 +28,15 @@ jobs:
2828
npm run generate.cli
2929
go build .
3030
go test -v ./...
31+
- name: Install Ruby and rspec
32+
uses: ruby/setup-ruby@v1
33+
with:
34+
ruby-version: '3.2'
35+
bundler-cache: true
36+
- name: Run integration tests
37+
run: |
38+
cd ./clients/cli
39+
bundle exec rspec
3140
- name: License check
3241
uses: phrase/actions/lawa-ci@v1
3342
with:

0 commit comments

Comments
 (0)