owncast/.github/workflows/test.yaml

43 lines
769 B
YAML
Raw Normal View History

name: Tests
2021-08-28 00:24:21 +02:00
on: [push, pull_request]
jobs:
test:
2021-08-28 00:24:21 +02:00
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest]
2021-08-28 00:24:21 +02:00
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install go
uses: actions/setup-go@v2
with:
go-version: "^1"
- name: Run tests
run: go test ./...
test-bsds:
runs-on: macos-10.15
strategy:
matrix:
os:
- name: freebsd
version: 12.2
- name: openbsd
version: 6.8
steps:
- uses: actions/checkout@v2
- name: Install go
uses: actions/setup-go@v2
with:
go-version: "^1"
- name: Run tests
run: go test ./...