mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-23 08:09:37 -05:00
ci: enables unit tests for master branch
This commit is contained in:
parent
4e84e46269
commit
fec3bb9096
1 changed files with 5 additions and 0 deletions
5
.github/workflows/unit-test.yaml
vendored
5
.github/workflows/unit-test.yaml
vendored
|
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
name: Unit Tests
|
name: Unit Tests
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- "release/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
types: ['opened', 'synchronize']
|
types: ['opened', 'synchronize']
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -18,6 +22,7 @@ jobs:
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.15'
|
go-version: '1.15'
|
||||||
|
- run: cat /etc/issue
|
||||||
- run: bash scripts/gogetcookie.sh
|
- run: bash scripts/gogetcookie.sh
|
||||||
- run: make vet
|
- run: make vet
|
||||||
- run: make test
|
- run: make test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue