Added test to detect correct behaviour in Close and Read ops

This commit is contained in:
Cristian Maglie
2020-04-19 00:20:16 +02:00
parent 1b760a82af
commit 6500d68fc8
3 changed files with 47 additions and 1 deletions

View File

@@ -22,8 +22,12 @@ jobs:
- name: Build native
run: GOARCH=amd64 go build -v ./...
shell: bash
- name: Install socat
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install socat
shell: bash
- name: Run unit tests
run: go test -v ./...
run: go test -v -race ./...
shell: bash
- name: Cross-build for 386
if: matrix.os != 'macOS-latest'