mirror of
https://github.com/mcuadros/ascode
synced 2024-11-26 06:01:08 +01:00
34 lines
697 B
YAML
34 lines
697 B
YAML
name: Test
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go-version: [1.13.x, 1.14.x]
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Allow skip provisioner tests
|
|
uses: allenevans/set-env@v1.0.0
|
|
if: matrix.os != 'ubuntu-latest'
|
|
with:
|
|
ALLOW_PROVISIONER_SKIP: 1
|
|
|
|
- name: Test
|
|
run: go test ./... |