File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Test
3+ jobs :
4+ test :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Install Go
8+ uses : actions/setup-go@v2
9+ with :
10+ go-version : 1.16.x
11+ - name : Checkout code
12+ uses : actions/checkout@v2
13+ - name : Qemu
14+ id : qemu
15+ uses : docker/setup-qemu-action@v1
16+ with :
17+ image : tonistiigi/binfmt:latest
18+ platforms : all
19+ - name : Test
20+ run : |
21+ # amd64: little endian 64 bits
22+ go test -coverprofile coverage.txt
23+ go test -tags bitstring_debug .
24+ # Big endian 64
25+ GOARCH=ppc64 go test
26+ # Little endian 32
27+ GOARCH=arm go test
28+ # Big endian 32
29+ GOARCH=mips go test
30+ - name : Codecov
31+ run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Maintain dependencies for GitHub Actions
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ interval : " daily"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments