Skip to content

Merge pull request #68 from openhie/CU-86by2x2u5-concurrent-package-a… #238

Merge pull request #68 from openhie/CU-86by2x2u5-concurrent-package-a…

Merge pull request #68 from openhie/CU-86by2x2u5-concurrent-package-a… #238

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