Browse Source

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

pull/68/head
Gabe Kangas 5 years ago
parent
commit
63954d4e1b
  1. 2
      .github/workflows/buildmaster.yaml
  2. 22
      .github/workflows/test.yaml

2
.github/workflows/buildmaster.yaml

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

22
.github/workflows/test.yaml

@ -0,0 +1,22 @@ @@ -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 ./...
Loading…
Cancel
Save