update ctrlX Data Layer #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Run check | |
run: | | |
uname -a | |
ls -lah | |
sudo apt-get update | |
sudo apt-get install -y libsystemd-dev libzmq3-dev | |
sudo apt install pkg-config | |
wget https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/2.6.0/ctrlx-datalayer-2.6.1.deb | |
sudo apt-get install -y -f ./ctrlx-datalayer-2.6.1.deb | |
- name: Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Test | |
run: | | |
go mod download | |
go mod vendor | |
go mod tidy | |
go test -race -short -count=1 -mod=vendor ./test/datalayer ./test/sseclient ./test/token | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Run go test | |
run: | | |
ls -lah | |
go mod download | |
go mod vendor | |
go test -race -short -count=1 -mod=vendor ./test/datalayer ./test/sseclient ./test/token | |