Feature/rel24 #59
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@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run check | |
run: | | |
uname -a | |
ls -lah | |
sudo apt-get update | |
sudo apt-get install -y libsystemd-dev | |
sudo apt install pkg-config | |
wget https://github.com/boschrexroth/ctrlx-automation-sdk/releases/download/3.2.0/ctrlx-datalayer-2.7.5.deb | |
sudo apt-get install -y -f ./ctrlx-datalayer-2.7.5.deb | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Run go test | |
run: | | |
ls -lah | |
go mod download | |
go mod vendor | |
go mod tidy | |
go test -race -short -count=1 -mod=vendor ./test/datalayer ./test/sseclient ./test/token | |