Skip to content

GITBOOK-18: change request with no subject merged in GitBook #248

GITBOOK-18: change request with no subject merged in GitBook

GITBOOK-18: change request with no subject merged in GitBook #248

Workflow file for this run

name: Run Go CLI unit tests and Godog functional tests
on:
push:
jobs:
unit-tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout Working Branch
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run Go CLI unit tests
run: ./cli/unit-test.sh
functional-tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout Working Branch
uses: actions/checkout@v2
- name: setup ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Set /tmp/logs
run: mkdir -p /tmp/logs
- name: Install Godog
run: cd ./cli/src && go install github.com/cucumber/godog/cmd/[email protected] && go mod tidy
- name: Run Godog tests
run: cd ./cli/src && godog run