-
Notifications
You must be signed in to change notification settings - Fork 263
42 lines (37 loc) · 893 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: gopuca
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
test:
name: Test ${{ matrix.os }} go${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
go: ["1.20.x", "1.21.x"]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11.X"
architecture: "x64"
- name: Get dependencies
run: |
go mod download
make install-py-opcua
- name: Run Tests
run: make test integration