We only have a single test, but might as well run it anyway

This commit is contained in:
Gabe Kangas 2020-07-14 16:37:41 -07:00
parent 58858c99c2
commit 63954d4e1b
2 changed files with 23 additions and 1 deletions

View file

@ -3,7 +3,7 @@ name: Build Owncast
on: on:
push: push:
branches: branches:
- github-actions - master
pull_request: pull_request:
branches: master branches: master

22
.github/workflows/test.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Tests
on:
push:
branches:
- master
pull_request:
branches: master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install go
uses: actions/setup-go@v2
with:
go-version: '1.14.x'
- name: Run tests
run: go test ./...